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

Side by Side Diff: extensions/browser/app_sorting.h

Issue 2535713004: extensions: Cleanup class/struct fwd declarations (Closed)
Patch Set: Created 4 years 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 EXTENSIONS_BROWSER_APP_SORTING_H_ 5 #ifndef EXTENSIONS_BROWSER_APP_SORTING_H_
6 #define EXTENSIONS_BROWSER_APP_SORTING_H_ 6 #define EXTENSIONS_BROWSER_APP_SORTING_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "components/sync/model/string_ordinal.h" 13 #include "components/sync/model/string_ordinal.h"
14 #include "extensions/common/extension.h" 14 #include "extensions/common/extension.h"
15 15
16 namespace extensions { 16 namespace extensions {
17 17
18 class ExtensionScopedPrefs;
19
20 // An interface that provides a fixed ordering for a set of apps. 18 // An interface that provides a fixed ordering for a set of apps.
21 class AppSorting { 19 class AppSorting {
22 public: 20 public:
23 AppSorting() {} 21 AppSorting() {}
24 virtual ~AppSorting() {} 22 virtual ~AppSorting() {}
25 23
26 // Resolves any conflicts the might be created as a result of syncing that 24 // Resolves any conflicts the might be created as a result of syncing that
27 // results in two icons having the same page and app launch ordinal. After 25 // results in two icons having the same page and app launch ordinal. After
28 // this is called it is guaranteed that there are no collisions of NTP icons. 26 // this is called it is guaranteed that there are no collisions of NTP icons.
29 virtual void FixNTPOrdinalCollisions() = 0; 27 virtual void FixNTPOrdinalCollisions() = 0;
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 virtual void SetExtensionVisible(const std::string& extension_id, 109 virtual void SetExtensionVisible(const std::string& extension_id,
112 bool visible) = 0; 110 bool visible) = 0;
113 111
114 private: 112 private:
115 DISALLOW_COPY_AND_ASSIGN(AppSorting); 113 DISALLOW_COPY_AND_ASSIGN(AppSorting);
116 }; 114 };
117 115
118 } // namespace extensions 116 } // namespace extensions
119 117
120 #endif // EXTENSIONS_BROWSER_APP_SORTING_H_ 118 #endif // EXTENSIONS_BROWSER_APP_SORTING_H_
OLDNEW
« no previous file with comments | « extensions/browser/api/webcam_private/webcam_private_api.h ('k') | extensions/browser/content_hash_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698