HomeSort by relevance Sort by last modified time
    Searched refs:UmaPolicy (Results 1 - 5 of 5) sorted by null

  /external/chromium_org/chrome/browser/extensions/activity_log/
uma_policy_unittest.cc 25 ActivityLogPolicy* policy = new UmaPolicy(profile_.get());
30 UmaPolicy* policy = new UmaPolicy(profile_.get());
34 ASSERT_EQ(UmaPolicy::NONE, policy->MatchActionToStatus(action));
39 (1 << UmaPolicy::CONTENT_SCRIPT), policy->MatchActionToStatus(action));
44 (1 << UmaPolicy::CONTENT_SCRIPT) & policy->MatchActionToStatus(action));
46 (1 << UmaPolicy::CONTENT_SCRIPT), policy->MatchActionToStatus(action));
52 ASSERT_TRUE((1 << UmaPolicy::READ_DOM) & policy->MatchActionToStatus(action));
53 ASSERT_EQ((1 << UmaPolicy::READ_DOM), policy->MatchActionToStatus(action));
58 (1 << UmaPolicy::MODIFIED_DOM) & policy->MatchActionToStatus(action))
    [all...]
uma_policy.cc 20 const int kNoStatus = extensions::UmaPolicy::NONE;
21 const int kContentScript = 1 << extensions::UmaPolicy::CONTENT_SCRIPT;
22 const int kReadDom = 1 << extensions::UmaPolicy::READ_DOM;
23 const int kModifiedDom = 1 << extensions::UmaPolicy::MODIFIED_DOM;
24 const int kDomMethod = 1 << extensions::UmaPolicy::DOM_METHOD;
25 const int kDocumentWrite = 1 << extensions::UmaPolicy::DOCUMENT_WRITE;
26 const int kInnerHtml = 1 << extensions::UmaPolicy::INNER_HTML;
27 const int kCreatedScript = 1 << extensions::UmaPolicy::CREATED_SCRIPT;
28 const int kCreatedIframe = 1 << extensions::UmaPolicy::CREATED_IFRAME;
29 const int kCreatedDiv = 1 << extensions::UmaPolicy::CREATED_DIV
    [all...]
uma_policy.h 19 // The UmaPolicy keeps track of how many extensions have read from or modified
20 // a given pageload. UmaPolicy records to a histogram when a given tab is
22 // * If multiple tabs are open for the same URL at the same time, UmaPolicy
24 // * UmaPolicy does not record statistics for incognito tabs. (For privacy.)
25 // * If the number of tabs open exceeds 50, UmaPolicy stops recording stats
27 // * UmaPolicy only handles top frames; stats are not recorded for iframes.
28 class UmaPolicy : public ActivityLogPolicy,
52 explicit UmaPolicy(Profile* profile);
62 virtual ~UmaPolicy();
uma_policy_browsertest.cc 18 using extensions::UmaPolicy;
40 extensions::UmaPolicy::GetHistogramName(
41 static_cast<extensions::UmaPolicy::PageStatus>(status_num)));
83 for (int i = UmaPolicy::NONE + 1; i < UmaPolicy::MAX_STATUS - 2; ++i) {
128 for (int i = UmaPolicy::NONE + 1; i < UmaPolicy::MAX_STATUS - 2; ++i) {
157 for (int i = UmaPolicy::NONE + 1; i < UmaPolicy::MAX_STATUS - 2; ++i) {
187 for (int i = UmaPolicy::NONE + 1; i < UmaPolicy::MAX_STATUS - 2; ++i)
    [all...]
activity_log.cc 399 // checks. However, UmaPolicy can't even compile on Android because it uses
403 uma_policy_ = new UmaPolicy(profile_);

Completed in 499 milliseconds