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 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_ |
OLD | NEW |