OLD | NEW |
---|---|
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 component to the launcher page extension. | |
robliao
2015/02/19 18:43:25
Let's call the now component the Now Notifications
skare_
2015/02/19 20:19:29
Done.
| |
17 void MigrateGoogleNowPrefs(Profile* profile); | |
18 | |
14 #endif // CHROME_BROWSER_UI_APP_LIST_GOOGLE_NOW_EXTENSION_H_ | 19 #endif // CHROME_BROWSER_UI_APP_LIST_GOOGLE_NOW_EXTENSION_H_ |
OLD | NEW |