| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_ASH_CHROME_LAUNCHER_PREFS_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_CHROME_LAUNCHER_PREFS_H_ |
| 6 #define CHROME_BROWSER_UI_ASH_CHROME_LAUNCHER_PREFS_H_ | 6 #define CHROME_BROWSER_UI_ASH_CHROME_LAUNCHER_PREFS_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "ash/public/cpp/shelf_types.h" | 12 #include "ash/public/cpp/shelf_types.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "components/sync_preferences/pref_service_syncable_observer.h" | 14 #include "components/sync_preferences/pref_service_syncable_observer.h" |
| 15 | 15 |
| 16 class LauncherControllerHelper; | 16 class LauncherControllerHelper; |
| 17 class PrefService; | 17 class PrefService; |
| 18 class Profile; | 18 class Profile; |
| 19 | 19 |
| 20 namespace sync_preferences { | 20 namespace sync_preferences { |
| 21 class PrefServiceSyncable; | 21 class PrefServiceSyncable; |
| 22 } | 22 } |
| 23 | 23 |
| 24 namespace user_prefs { | 24 namespace user_prefs { |
| 25 class PrefRegistrySyncable; | 25 class PrefRegistrySyncable; |
| 26 } | 26 } |
| 27 | 27 |
| 28 namespace ash { | 28 namespace ash { |
| 29 namespace launcher { | |
| 30 | 29 |
| 31 class AppLauncherId; | 30 class AppLauncherId; |
| 32 | 31 |
| 32 namespace launcher { |
| 33 |
| 33 // Path within the dictionary entries in the prefs::kPinnedLauncherApps list | 34 // Path within the dictionary entries in the prefs::kPinnedLauncherApps list |
| 34 // specifying the extension ID of the app to be pinned by that entry. | 35 // specifying the extension ID of the app to be pinned by that entry. |
| 35 extern const char kPinnedAppsPrefAppIDPath[]; | 36 extern const char kPinnedAppsPrefAppIDPath[]; |
| 36 | 37 |
| 37 extern const char kPinnedAppsPrefPinnedByPolicy[]; | 38 extern const char kPinnedAppsPrefPinnedByPolicy[]; |
| 38 | 39 |
| 39 // Value used as a placeholder in the list of pinned applications. | 40 // Value used as a placeholder in the list of pinned applications. |
| 40 // This is NOT a valid extension identifier so pre-M31 versions ignore it. | 41 // This is NOT a valid extension identifier so pre-M31 versions ignore it. |
| 41 extern const char kPinnedAppsPlaceholder[]; | 42 extern const char kPinnedAppsPlaceholder[]; |
| 42 | 43 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 // Profile prefs. Not owned. | 107 // Profile prefs. Not owned. |
| 107 sync_preferences::PrefServiceSyncable* prefs_; | 108 sync_preferences::PrefServiceSyncable* prefs_; |
| 108 | 109 |
| 109 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherPrefsObserver); | 110 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherPrefsObserver); |
| 110 }; | 111 }; |
| 111 | 112 |
| 112 } // namespace launcher | 113 } // namespace launcher |
| 113 } // namespace ash | 114 } // namespace ash |
| 114 | 115 |
| 115 #endif // CHROME_BROWSER_UI_ASH_CHROME_LAUNCHER_PREFS_H_ | 116 #endif // CHROME_BROWSER_UI_ASH_CHROME_LAUNCHER_PREFS_H_ |
| OLD | NEW |