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

Side by Side Diff: chrome/browser/ui/ash/chrome_launcher_prefs.h

Issue 1973603002: arc: Make Play Store item persistance in shelf. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: prevent showing playstore icon on non-arc devices Created 4 years, 7 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 (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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698