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

Side by Side Diff: chrome/browser/extensions/extension_sorting.h

Issue 15239002: Move Extension and PermissionsData to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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 | Annotate | Revision Log
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_EXTENSIONS_EXTENSION_SORTING_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SORTING_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SORTING_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SORTING_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "chrome/browser/extensions/extension_prefs.h" 13 #include "chrome/browser/extensions/extension_prefs.h"
14 #include "chrome/common/extensions/extension.h" 14 #include "extensions/common/extension.h"
15 #include "sync/api/string_ordinal.h" 15 #include "sync/api/string_ordinal.h"
16 16
17 class ExtensionScopedPrefs; 17 class ExtensionScopedPrefs;
18 class ExtensionSyncService; 18 class ExtensionSyncService;
19 class PrefService; 19 class PrefService;
20 20
21 class ExtensionSorting { 21 class ExtensionSorting {
22 public: 22 public:
23 explicit ExtensionSorting(ExtensionScopedPrefs* extension_scoped_prefs); 23 explicit ExtensionSorting(ExtensionScopedPrefs* extension_scoped_prefs);
24 ~ExtensionSorting(); 24 ~ExtensionSorting();
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 // construction when the app order may not have been determined. 215 // construction when the app order may not have been determined.
216 bool default_ordinals_created_; 216 bool default_ordinals_created_;
217 217
218 // The set of extensions that don't appear in the new tab page. 218 // The set of extensions that don't appear in the new tab page.
219 std::set<std::string> ntp_hidden_extensions_; 219 std::set<std::string> ntp_hidden_extensions_;
220 220
221 DISALLOW_COPY_AND_ASSIGN(ExtensionSorting); 221 DISALLOW_COPY_AND_ASSIGN(ExtensionSorting);
222 }; 222 };
223 223
224 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SORTING_H_ 224 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SORTING_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_service_unittest.cc ('k') | chrome/browser/extensions/extension_sorting.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698