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 <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 // A whitelist of extensions that can script anywhere. Do not add to this | 65 // A whitelist of extensions that can script anywhere. Do not add to this |
66 // list (except in tests) without consulting the Extensions team first. | 66 // list (except in tests) without consulting the Extensions team first. |
67 // Note: Component extensions have this right implicitly and do not need to be | 67 // Note: Component extensions have this right implicitly and do not need to be |
68 // added to this list. | 68 // added to this list. |
69 ScriptingWhitelist scripting_whitelist_; | 69 ScriptingWhitelist scripting_whitelist_; |
70 | 70 |
71 // Mutable to allow caching in a const method. | 71 // Mutable to allow caching in a const method. |
72 mutable GURL webstore_base_url_; | 72 mutable GURL webstore_base_url_; |
73 mutable GURL webstore_update_url_; | 73 mutable GURL webstore_update_url_; |
74 | 74 |
75 friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsClient>; | 75 friend struct base::LazyInstanceTraitsBase<ChromeExtensionsClient>; |
76 | 76 |
77 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsClient); | 77 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsClient); |
78 }; | 78 }; |
79 | 79 |
80 } // namespace extensions | 80 } // namespace extensions |
81 | 81 |
82 #endif // CHROME_COMMON_EXTENSIONS_CHROME_EXTENSIONS_CLIENT_H_ | 82 #endif // CHROME_COMMON_EXTENSIONS_CHROME_EXTENSIONS_CLIENT_H_ |
OLD | NEW |