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

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

Issue 645043003: Cleanup: Prevent usage of various extension headers when extensions support is not compiled in. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 2 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>
(...skipping 13 matching lines...) Expand all
24 #include "extensions/browser/external_provider_interface.h" 24 #include "extensions/browser/external_provider_interface.h"
25 #include "extensions/browser/install_flag.h" 25 #include "extensions/browser/install_flag.h"
26 #include "extensions/browser/management_policy.h" 26 #include "extensions/browser/management_policy.h"
27 #include "extensions/browser/process_manager.h" 27 #include "extensions/browser/process_manager.h"
28 #include "extensions/browser/uninstall_reason.h" 28 #include "extensions/browser/uninstall_reason.h"
29 #include "extensions/common/extension.h" 29 #include "extensions/common/extension.h"
30 #include "extensions/common/extension_set.h" 30 #include "extensions/common/extension_set.h"
31 #include "extensions/common/manifest.h" 31 #include "extensions/common/manifest.h"
32 #include "sync/api/string_ordinal.h" 32 #include "sync/api/string_ordinal.h"
33 33
34 #if !defined(ENABLE_EXTENSIONS)
35 #error "Extensions must be enabled"
36 #endif
37
34 class ExtensionSyncService; 38 class ExtensionSyncService;
35 class GURL; 39 class GURL;
36 class HostContentSettingsMap; 40 class HostContentSettingsMap;
37 class Profile; 41 class Profile;
38 42
39 namespace base { 43 namespace base {
40 class CommandLine; 44 class CommandLine;
41 class SequencedTaskRunner; 45 class SequencedTaskRunner;
42 class Version; 46 class Version;
43 } 47 }
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 GreylistedExtensionDisabled); 739 GreylistedExtensionDisabled);
736 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 740 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
737 GreylistDontEnableManuallyDisabled); 741 GreylistDontEnableManuallyDisabled);
738 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 742 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
739 GreylistUnknownDontChange); 743 GreylistUnknownDontChange);
740 744
741 DISALLOW_COPY_AND_ASSIGN(ExtensionService); 745 DISALLOW_COPY_AND_ASSIGN(ExtensionService);
742 }; 746 };
743 747
744 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ 748 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/download/chrome_download_manager_delegate.cc ('k') | chrome/browser/profiles/off_the_record_profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698