| OLD | NEW |
| 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_COMMON_EXTENSIONS_CHROME_EXTENSIONS_CLIENT_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_CHROME_EXTENSIONS_CLIENT_H_ |
| 6 #define CHROME_COMMON_EXTENSIONS_CHROME_EXTENSIONS_CLIENT_H_ | 6 #define CHROME_COMMON_EXTENSIONS_CHROME_EXTENSIONS_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | |
| 9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 10 #include "base/lazy_instance.h" | 9 #include "base/lazy_instance.h" |
| 10 #include "base/macros.h" |
| 11 #include "chrome/common/extensions/permissions/chrome_api_permissions.h" | 11 #include "chrome/common/extensions/permissions/chrome_api_permissions.h" |
| 12 #include "chrome/common/extensions/permissions/chrome_permission_message_provide
r.h" | 12 #include "chrome/common/extensions/permissions/chrome_permission_message_provide
r.h" |
| 13 #include "extensions/common/extensions_client.h" | 13 #include "extensions/common/extensions_client.h" |
| 14 #include "extensions/common/permissions/extensions_api_permissions.h" | 14 #include "extensions/common/permissions/extensions_api_permissions.h" |
| 15 | 15 |
| 16 namespace extensions { | 16 namespace extensions { |
| 17 | 17 |
| 18 // The implementation of ExtensionsClient for Chrome, which encapsulates the | 18 // The implementation of ExtensionsClient for Chrome, which encapsulates the |
| 19 // global knowledge of features, permissions, and manifest fields. | 19 // global knowledge of features, permissions, and manifest fields. |
| 20 class ChromeExtensionsClient : public ExtensionsClient { | 20 class ChromeExtensionsClient : public ExtensionsClient { |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 ScriptingWhitelist scripting_whitelist_; | 66 ScriptingWhitelist scripting_whitelist_; |
| 67 | 67 |
| 68 friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsClient>; | 68 friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsClient>; |
| 69 | 69 |
| 70 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsClient); | 70 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsClient); |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 } // namespace extensions | 73 } // namespace extensions |
| 74 | 74 |
| 75 #endif // CHROME_COMMON_EXTENSIONS_CHROME_EXTENSIONS_CLIENT_H_ | 75 #endif // CHROME_COMMON_EXTENSIONS_CHROME_EXTENSIONS_CLIENT_H_ |
| OLD | NEW |