UmaPolicy 402 chrome/browser/extensions/activity_log/activity_log.cc uma_policy_ = new UmaPolicy(profile_); UmaPolicy 20 chrome/browser/extensions/activity_log/uma_policy.cc const int kNoStatus = extensions::UmaPolicy::NONE; UmaPolicy 21 chrome/browser/extensions/activity_log/uma_policy.cc const int kContentScript = 1 << extensions::UmaPolicy::CONTENT_SCRIPT; UmaPolicy 22 chrome/browser/extensions/activity_log/uma_policy.cc const int kReadDom = 1 << extensions::UmaPolicy::READ_DOM; UmaPolicy 23 chrome/browser/extensions/activity_log/uma_policy.cc const int kModifiedDom = 1 << extensions::UmaPolicy::MODIFIED_DOM; UmaPolicy 24 chrome/browser/extensions/activity_log/uma_policy.cc const int kDomMethod = 1 << extensions::UmaPolicy::DOM_METHOD; UmaPolicy 25 chrome/browser/extensions/activity_log/uma_policy.cc const int kDocumentWrite = 1 << extensions::UmaPolicy::DOCUMENT_WRITE; UmaPolicy 26 chrome/browser/extensions/activity_log/uma_policy.cc const int kInnerHtml = 1 << extensions::UmaPolicy::INNER_HTML; UmaPolicy 27 chrome/browser/extensions/activity_log/uma_policy.cc const int kCreatedScript = 1 << extensions::UmaPolicy::CREATED_SCRIPT; UmaPolicy 28 chrome/browser/extensions/activity_log/uma_policy.cc const int kCreatedIframe = 1 << extensions::UmaPolicy::CREATED_IFRAME; UmaPolicy 29 chrome/browser/extensions/activity_log/uma_policy.cc const int kCreatedDiv = 1 << extensions::UmaPolicy::CREATED_DIV; UmaPolicy 30 chrome/browser/extensions/activity_log/uma_policy.cc const int kCreatedLink = 1 << extensions::UmaPolicy::CREATED_LINK; UmaPolicy 31 chrome/browser/extensions/activity_log/uma_policy.cc const int kCreatedInput = 1 << extensions::UmaPolicy::CREATED_INPUT; UmaPolicy 32 chrome/browser/extensions/activity_log/uma_policy.cc const int kCreatedEmbed = 1 << extensions::UmaPolicy::CREATED_EMBED; UmaPolicy 33 chrome/browser/extensions/activity_log/uma_policy.cc const int kCreatedObject = 1 << extensions::UmaPolicy::CREATED_OBJECT; UmaPolicy 41 chrome/browser/extensions/activity_log/uma_policy.cc const char UmaPolicy::kNumberOfTabs[] = "num_tabs"; UmaPolicy 42 chrome/browser/extensions/activity_log/uma_policy.cc const size_t UmaPolicy::kMaxTabsTracked = 50; UmaPolicy 46 chrome/browser/extensions/activity_log/uma_policy.cc UmaPolicy::UmaPolicy(Profile* profile) UmaPolicy 52 chrome/browser/extensions/activity_log/uma_policy.cc UmaPolicy::~UmaPolicy() { UmaPolicy 58 chrome/browser/extensions/activity_log/uma_policy.cc void UmaPolicy::Close() { UmaPolicy 64 chrome/browser/extensions/activity_log/uma_policy.cc void UmaPolicy::ProcessAction(scoped_refptr<Action> action) { UmaPolicy 85 chrome/browser/extensions/activity_log/uma_policy.cc int UmaPolicy::MatchActionToStatus(scoped_refptr<Action> action) { UmaPolicy 141 chrome/browser/extensions/activity_log/uma_policy.cc void UmaPolicy::HistogramOnClose(const std::string& url) { UmaPolicy 222 chrome/browser/extensions/activity_log/uma_policy.cc void UmaPolicy::OnBrowserAdded(Browser* browser) { UmaPolicy 228 chrome/browser/extensions/activity_log/uma_policy.cc void UmaPolicy::OnBrowserRemoved(Browser* browser) { UmaPolicy 237 chrome/browser/extensions/activity_log/uma_policy.cc void UmaPolicy::TabChangedAt(content::WebContents* contents, UmaPolicy 272 chrome/browser/extensions/activity_log/uma_policy.cc void UmaPolicy::TabClosingAt(TabStripModel* tab_strip_model, UmaPolicy 286 chrome/browser/extensions/activity_log/uma_policy.cc void UmaPolicy::SetupOpenedPage(const std::string& url) { UmaPolicy 290 chrome/browser/extensions/activity_log/uma_policy.cc void UmaPolicy::CleanupClosedPage(const std::string& url) { UmaPolicy 306 chrome/browser/extensions/activity_log/uma_policy.cc std::string UmaPolicy::CleanURL(const GURL& gurl) { UmaPolicy 327 chrome/browser/extensions/activity_log/uma_policy.cc const char* UmaPolicy::GetHistogramName(PageStatus status) { UmaPolicy 28 chrome/browser/extensions/activity_log/uma_policy.h class UmaPolicy : public ActivityLogPolicy, UmaPolicy 52 chrome/browser/extensions/activity_log/uma_policy.h explicit UmaPolicy(Profile* profile); UmaPolicy 62 chrome/browser/extensions/activity_log/uma_policy.h virtual ~UmaPolicy(); UmaPolicy 18 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc using extensions::UmaPolicy; UmaPolicy 40 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc extensions::UmaPolicy::GetHistogramName( UmaPolicy 41 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc static_cast<extensions::UmaPolicy::PageStatus>(status_num))); UmaPolicy 83 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc for (int i = UmaPolicy::NONE + 1; i < UmaPolicy::MAX_STATUS - 2; ++i) { UmaPolicy 128 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc for (int i = UmaPolicy::NONE + 1; i < UmaPolicy::MAX_STATUS - 2; ++i) { UmaPolicy 157 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc for (int i = UmaPolicy::NONE + 1; i < UmaPolicy::MAX_STATUS - 2; ++i) { UmaPolicy 187 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc for (int i = UmaPolicy::NONE + 1; i < UmaPolicy::MAX_STATUS - 2; ++i) { UmaPolicy 25 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ActivityLogPolicy* policy = new UmaPolicy(profile_.get()); UmaPolicy 30 chrome/browser/extensions/activity_log/uma_policy_unittest.cc UmaPolicy* policy = new UmaPolicy(profile_.get()); UmaPolicy 34 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ASSERT_EQ(UmaPolicy::NONE, policy->MatchActionToStatus(action)); UmaPolicy 39 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::CONTENT_SCRIPT), policy->MatchActionToStatus(action)); UmaPolicy 44 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::CONTENT_SCRIPT) & policy->MatchActionToStatus(action)); UmaPolicy 46 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::CONTENT_SCRIPT), policy->MatchActionToStatus(action)); UmaPolicy 52 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ASSERT_TRUE((1 << UmaPolicy::READ_DOM) & policy->MatchActionToStatus(action)); UmaPolicy 53 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ASSERT_EQ((1 << UmaPolicy::READ_DOM), policy->MatchActionToStatus(action)); UmaPolicy 58 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::MODIFIED_DOM) & policy->MatchActionToStatus(action)); UmaPolicy 60 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::MODIFIED_DOM), policy->MatchActionToStatus(action)); UmaPolicy 67 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::DOCUMENT_WRITE) & policy->MatchActionToStatus(action)); UmaPolicy 69 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::DOM_METHOD) & policy->MatchActionToStatus(action)); UmaPolicy 78 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ASSERT_EQ(UmaPolicy::NONE, policy->MatchActionToStatus(action)); UmaPolicy 82 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::CREATED_SCRIPT) & policy->MatchActionToStatus(action)); UmaPolicy 84 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::DOM_METHOD) & policy->MatchActionToStatus(action)); UmaPolicy 90 chrome/browser/extensions/activity_log/uma_policy_unittest.cc UmaPolicy* policy = new UmaPolicy(profile_.get()); UmaPolicy 107 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ASSERT_EQ(1, policy->url_status()[site1][UmaPolicy::kNumberOfTabs]); UmaPolicy 108 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ASSERT_EQ(2, policy->url_status()[site2][UmaPolicy::kNumberOfTabs]); UmaPolicy 109 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ASSERT_EQ(3, policy->url_status()[site3][UmaPolicy::kNumberOfTabs]); UmaPolicy 119 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ASSERT_EQ(1, policy->url_status()[site1][UmaPolicy::kNumberOfTabs]); UmaPolicy 120 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ASSERT_EQ(2, policy->url_status()[site3][UmaPolicy::kNumberOfTabs]); UmaPolicy 130 chrome/browser/extensions/activity_log/uma_policy_unittest.cc UmaPolicy* policy = new UmaPolicy(profile_.get()); UmaPolicy 179 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::CONTENT_SCRIPT) & policy->url_status()[site_a][ext_a]); UmaPolicy 181 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::CONTENT_SCRIPT) & policy->url_status()[site_a][ext_b]); UmaPolicy 182 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ASSERT_TRUE((1 << UmaPolicy::READ_DOM) & policy->url_status()[site_a][ext_b]); UmaPolicy 184 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::READ_DOM) & policy->url_status()[site_a][ext_a]); UmaPolicy 188 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::MODIFIED_DOM) & policy->url_status()[site_b][ext_a]); UmaPolicy 190 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::MODIFIED_DOM) & policy->url_status()[site_b][ext_b]); UmaPolicy 192 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::CONTENT_SCRIPT) & policy->url_status()[site_b][ext_b]); UmaPolicy 199 chrome/browser/extensions/activity_log/uma_policy_unittest.cc UmaPolicy::CleanURL(GURL("http://www.google.com/"))); UmaPolicy 201 chrome/browser/extensions/activity_log/uma_policy_unittest.cc UmaPolicy::CleanURL(GURL("http://www.google.com"))); UmaPolicy 203 chrome/browser/extensions/activity_log/uma_policy_unittest.cc UmaPolicy::CleanURL(GURL("http://www.google.com:8080/a.html"))); UmaPolicy 205 chrome/browser/extensions/activity_log/uma_policy_unittest.cc UmaPolicy::CleanURL(GURL("http://www.google.com/#a"))); UmaPolicy 207 chrome/browser/extensions/activity_log/uma_policy_unittest.cc UmaPolicy::CleanURL(GURL("http://www.google.com/#aaaa"))); UmaPolicy 209 chrome/browser/extensions/activity_log/uma_policy_unittest.cc UmaPolicy::CleanURL(GURL("http://www.google.com/?q=a"))); UmaPolicy 212 chrome/browser/extensions/activity_log/uma_policy_unittest.cc UmaPolicy::CleanURL(GURL("http://www.cnn.com/"))); UmaPolicy 214 chrome/browser/extensions/activity_log/uma_policy_unittest.cc UmaPolicy::CleanURL(GURL("http://www.cnn.com:8080/a.html"))); UmaPolicy 216 chrome/browser/extensions/activity_log/uma_policy_unittest.cc UmaPolicy::CleanURL(GURL("http://www.cnn.com"))); UmaPolicy 218 chrome/browser/extensions/activity_log/uma_policy_unittest.cc UmaPolicy::CleanURL(GURL("http://www.cnn.com/#a"))); UmaPolicy 220 chrome/browser/extensions/activity_log/uma_policy_unittest.cc UmaPolicy::CleanURL(GURL("http://www.cnn.com/#aaaa"))); UmaPolicy 222 chrome/browser/extensions/activity_log/uma_policy_unittest.cc UmaPolicy::CleanURL(GURL("http://www.cnn.com/?q=a")));