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

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

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 CHROME_BROWSER_EXTENSIONS_CHROME_APP_SORTING_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_CHROME_APP_SORTING_H_
6 #define CHROME_BROWSER_EXTENSIONS_CHROME_APP_SORTING_H_ 6 #define CHROME_BROWSER_EXTENSIONS_CHROME_APP_SORTING_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
11 #include <set> 11 #include <set>
12 #include <string> 12 #include <string>
13 13
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "components/sync/api/string_ordinal.h"
15 #include "extensions/browser/app_sorting.h" 16 #include "extensions/browser/app_sorting.h"
16 #include "extensions/browser/extension_prefs.h" 17 #include "extensions/browser/extension_prefs.h"
17 #include "extensions/common/extension.h" 18 #include "extensions/common/extension.h"
18 #include "sync/api/string_ordinal.h"
19 19
20 class PrefService; 20 class PrefService;
21 21
22 namespace extensions { 22 namespace extensions {
23 23
24 class ExtensionScopedPrefs; 24 class ExtensionScopedPrefs;
25 25
26 class ChromeAppSorting : public AppSorting { 26 class ChromeAppSorting : public AppSorting {
27 public: 27 public:
28 explicit ChromeAppSorting(content::BrowserContext* browser_context); 28 explicit ChromeAppSorting(content::BrowserContext* browser_context);
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 173
174 // The set of extensions that don't appear in the new tab page. 174 // The set of extensions that don't appear in the new tab page.
175 std::set<std::string> ntp_hidden_extensions_; 175 std::set<std::string> ntp_hidden_extensions_;
176 176
177 DISALLOW_COPY_AND_ASSIGN(ChromeAppSorting); 177 DISALLOW_COPY_AND_ASSIGN(ChromeAppSorting);
178 }; 178 };
179 179
180 } // namespace extensions 180 } // namespace extensions
181 181
182 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_APP_SORTING_H_ 182 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_APP_SORTING_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/app_process_apitest.cc ('k') | chrome/browser/extensions/chrome_app_sorting_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698