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

Unified Diff: chrome/browser/ui/app_list/google_now_extension.h

Issue 938713004: Add Now setting and migration logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Conditionalize include Created 5 years, 10 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/ui/app_list/google_now_extension.h
diff --git a/chrome/browser/ui/app_list/google_now_extension.h b/chrome/browser/ui/app_list/google_now_extension.h
index 9b2732b7924f40a921211cc5b9aa5bc09267ac6f..fca734206791e88c37ff9f28815be93ed278e517 100644
--- a/chrome/browser/ui/app_list/google_now_extension.h
+++ b/chrome/browser/ui/app_list/google_now_extension.h
@@ -7,8 +7,14 @@
#include <string>
+class Profile;
+
// Returns true and sets |extension_id| if extension experiment enabled
// false if no experiment or |extension_id| is empty.
bool GetGoogleNowExtensionId(std::string* extension_id);
+// Migrates settings from the Now Notifications extension to the Now Launcher
+// Page extension.
+void MigrateGoogleNowPrefs(Profile* profile);
+
#endif // CHROME_BROWSER_UI_APP_LIST_GOOGLE_NOW_EXTENSION_H_
« no previous file with comments | « chrome/browser/resources/options/browser_options.js ('k') | chrome/browser/ui/app_list/google_now_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698