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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_APP_LIST_GOOGLE_NOW_EXTENSION_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_GOOGLE_NOW_EXTENSION_H_
6 #define CHROME_BROWSER_UI_APP_LIST_GOOGLE_NOW_EXTENSION_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_GOOGLE_NOW_EXTENSION_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 class Profile;
11
10 // Returns true and sets |extension_id| if extension experiment enabled 12 // Returns true and sets |extension_id| if extension experiment enabled
11 // false if no experiment or |extension_id| is empty. 13 // false if no experiment or |extension_id| is empty.
12 bool GetGoogleNowExtensionId(std::string* extension_id); 14 bool GetGoogleNowExtensionId(std::string* extension_id);
13 15
16 // Migrates settings from the Now Notifications extension to the Now Launcher
17 // Page extension.
18 void MigrateGoogleNowPrefs(Profile* profile);
19
14 #endif // CHROME_BROWSER_UI_APP_LIST_GOOGLE_NOW_EXTENSION_H_ 20 #endif // CHROME_BROWSER_UI_APP_LIST_GOOGLE_NOW_EXTENSION_H_
OLDNEW
« 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