Chromium Code Reviews| 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 <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 57 // Get or set the shelf alignment preference for a particular display. | 57 // Get or set the shelf alignment preference for a particular display. |
| 58 wm::ShelfAlignment GetShelfAlignmentPref(PrefService* prefs, | 58 wm::ShelfAlignment GetShelfAlignmentPref(PrefService* prefs, |
| 59 int64_t display_id); | 59 int64_t display_id); |
| 60 void SetShelfAlignmentPref(PrefService* prefs, | 60 void SetShelfAlignmentPref(PrefService* prefs, |
| 61 int64_t display_id, | 61 int64_t display_id, |
| 62 wm::ShelfAlignment alignment); | 62 wm::ShelfAlignment alignment); |
| 63 | 63 |
| 64 // Get the list of pinned apps from preferences. | 64 // Get the list of pinned apps from preferences. |
| 65 std::vector<std::string> GetPinnedAppsFromPrefs( | 65 std::vector<std::string> GetPinnedAppsFromPrefs( |
| 66 const PrefService* prefs, | 66 const PrefService* prefs, |
| 67 const LauncherControllerHelper* helper); | 67 LauncherControllerHelper* helper); |
|
xiyuan
2016/05/13 15:16:34
nit: Can we make ArcAuthService::IsAllowedForProfi
khmel
2016/05/13 16:01:49
Good point, I overlooked this.
| |
| 68 | 68 |
| 69 } // namespace ash | 69 } // namespace ash |
| 70 | 70 |
| 71 #endif // CHROME_BROWSER_UI_ASH_CHROME_LAUNCHER_PREFS_H_ | 71 #endif // CHROME_BROWSER_UI_ASH_CHROME_LAUNCHER_PREFS_H_ |
| OLD | NEW |