Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5319)

Unified Diff: chrome/browser/engagement/important_sites_util.h

Issue 2393103002: [Durable] Updated Durable heuristic to use 'important sites' (Closed)
Patch Set: windows test fix Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/engagement/important_sites_util.h
diff --git a/chrome/browser/android/preferences/important_sites_util.h b/chrome/browser/engagement/important_sites_util.h
similarity index 84%
rename from chrome/browser/android/preferences/important_sites_util.h
rename to chrome/browser/engagement/important_sites_util.h
index 19ee25fb4166c7a625ddc60034436542a4e851a8..c6259358d959f24f5ae8e69d775fb82413021643 100644
--- a/chrome/browser/android/preferences/important_sites_util.h
+++ b/chrome/browser/engagement/important_sites_util.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_ANDROID_PREFERENCES_IMPORTANT_SITES_UTIL_H_
-#define CHROME_BROWSER_ANDROID_PREFERENCES_IMPORTANT_SITES_UTIL_H_
+#ifndef CHROME_BROWSER_ENGAGEMENT_IMPORTANT_SITES_UTIL_H_
+#define CHROME_BROWSER_ENGAGEMENT_IMPORTANT_SITES_UTIL_H_
#include <string>
#include <vector>
@@ -45,7 +45,9 @@ class ImportantSitesUtil {
const std::vector<std::string>& ignored_sites,
const std::vector<int32_t>& ignored_sites_reason_bitfield);
- // This marks the given origin as important for testing.
+ // This marks the given origin as important for testing. Note: This changes
+ // the score requirements for the Site Engagement Service, so ONLY call for
+ // testing.
static void MarkOriginAsImportantForTesting(Profile* profile,
const GURL& origin);
@@ -53,4 +55,4 @@ class ImportantSitesUtil {
DISALLOW_IMPLICIT_CONSTRUCTORS(ImportantSitesUtil);
};
-#endif // CHROME_BROWSER_ANDROID_PREFERENCES_IMPORTANT_SITES_UTIL_H_
+#endif // CHROME_BROWSER_ENGAGEMENT_IMPORTANT_SITES_UTIL_H_
« no previous file with comments | « chrome/browser/android/preferences/website_preference_bridge.cc ('k') | chrome/browser/engagement/important_sites_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698