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

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

Issue 2148293004: [Sync] //components/sync external changes [DO NOT SUBMIT] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sc-1
Patch Set: Rebase. Created 4 years, 4 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) 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/api/string_ordinal.h"
13 #include "extensions/common/extension.h" 14 #include "extensions/common/extension.h"
14 #include "sync/api/string_ordinal.h"
15 15
16 namespace extensions { 16 namespace extensions {
17 17
18 class ExtensionScopedPrefs; 18 class ExtensionScopedPrefs;
19 19
20 // An interface that provides a fixed ordering for a set of apps. 20 // An interface that provides a fixed ordering for a set of apps.
21 class AppSorting { 21 class AppSorting {
22 public: 22 public:
23 AppSorting() {} 23 AppSorting() {}
24 virtual ~AppSorting() {} 24 virtual ~AppSorting() {}
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 virtual void SetExtensionVisible(const std::string& extension_id, 103 virtual void SetExtensionVisible(const std::string& extension_id,
104 bool visible) = 0; 104 bool visible) = 0;
105 105
106 private: 106 private:
107 DISALLOW_COPY_AND_ASSIGN(AppSorting); 107 DISALLOW_COPY_AND_ASSIGN(AppSorting);
108 }; 108 };
109 109
110 } // namespace extensions 110 } // namespace extensions
111 111
112 #endif // EXTENSIONS_BROWSER_APP_SORTING_H_ 112 #endif // EXTENSIONS_BROWSER_APP_SORTING_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698