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

Side by Side Diff: chrome/browser/extensions/extension_service.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 (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_SERVICE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/files/file_path.h" 14 #include "base/files/file_path.h"
15 #include "base/gtest_prod_util.h" 15 #include "base/gtest_prod_util.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
18 #include "base/memory/weak_ptr.h" 18 #include "base/memory/weak_ptr.h"
19 #include "base/strings/string16.h" 19 #include "base/strings/string16.h"
20 #include "chrome/browser/extensions/blacklist.h" 20 #include "chrome/browser/extensions/blacklist.h"
21 #include "chrome/browser/extensions/extension_management.h" 21 #include "chrome/browser/extensions/extension_management.h"
22 #include "chrome/browser/extensions/install_gate.h" 22 #include "chrome/browser/extensions/install_gate.h"
23 #include "chrome/browser/extensions/pending_extension_manager.h" 23 #include "chrome/browser/extensions/pending_extension_manager.h"
24 #include "components/sync/api/string_ordinal.h"
24 #include "content/public/browser/notification_observer.h" 25 #include "content/public/browser/notification_observer.h"
25 #include "content/public/browser/notification_registrar.h" 26 #include "content/public/browser/notification_registrar.h"
26 #include "extensions/browser/crx_file_info.h" 27 #include "extensions/browser/crx_file_info.h"
27 #include "extensions/browser/extension_prefs.h" 28 #include "extensions/browser/extension_prefs.h"
28 #include "extensions/browser/external_provider_interface.h" 29 #include "extensions/browser/external_provider_interface.h"
29 #include "extensions/browser/install_flag.h" 30 #include "extensions/browser/install_flag.h"
30 #include "extensions/browser/process_manager.h" 31 #include "extensions/browser/process_manager.h"
31 #include "extensions/browser/uninstall_reason.h" 32 #include "extensions/browser/uninstall_reason.h"
32 #include "extensions/common/extension.h" 33 #include "extensions/common/extension.h"
33 #include "extensions/common/extension_set.h" 34 #include "extensions/common/extension_set.h"
34 #include "extensions/common/manifest.h" 35 #include "extensions/common/manifest.h"
35 #include "sync/api/string_ordinal.h"
36 36
37 #if !defined(ENABLE_EXTENSIONS) 37 #if !defined(ENABLE_EXTENSIONS)
38 #error "Extensions must be enabled" 38 #error "Extensions must be enabled"
39 #endif 39 #endif
40 40
41 class GURL; 41 class GURL;
42 class HostContentSettingsMap; 42 class HostContentSettingsMap;
43 class Profile; 43 class Profile;
44 44
45 namespace base { 45 namespace base {
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 GreylistUnknownDontChange); 746 GreylistUnknownDontChange);
747 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 747 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
748 ManagementPolicyProhibitsEnableOnInstalled); 748 ManagementPolicyProhibitsEnableOnInstalled);
749 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 749 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
750 BlockAndUnblockBlacklistedExtension); 750 BlockAndUnblockBlacklistedExtension);
751 751
752 DISALLOW_COPY_AND_ASSIGN(ExtensionService); 752 DISALLOW_COPY_AND_ASSIGN(ExtensionService);
753 }; 753 };
754 754
755 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ 755 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_prefs_unittest.cc ('k') | chrome/browser/extensions/extension_service_sync_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698