Index: chrome/browser/android/preferences/important_sites_util.h |
diff --git a/chrome/browser/android/preferences/important_sites_util.h b/chrome/browser/android/preferences/important_sites_util.h |
index eebba7b6cff03cc8caa6d39be0b063663980de3c..6c189f0175fdc1ebf9a2b8002296614141fc5614 100644 |
--- a/chrome/browser/android/preferences/important_sites_util.h |
+++ b/chrome/browser/android/preferences/important_sites_util.h |
@@ -9,6 +9,7 @@ |
#include <vector> |
#include "base/macros.h" |
+#include "url/gurl.h" |
class Profile; |
@@ -24,6 +25,11 @@ class ImportantSitesUtil { |
Profile* profile, |
size_t max_results); |
+ // This marks the given origin as important so we can test features that rely |
+ // on important sites. |
+ static void MarkOriginAsImportantForTesting(Profile* profile, |
+ const GURL& origin); |
+ |
private: |
DISALLOW_IMPLICIT_CONSTRUCTORS(ImportantSitesUtil); |
}; |