OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_EXTENSION_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 | 333 |
334 // Whether the extension is a theme - if it is, certain things are disabled. | 334 // Whether the extension is a theme - if it is, certain things are disabled. |
335 bool is_theme_; | 335 bool is_theme_; |
336 | 336 |
337 // The sites this extension has permission to talk to (using XHR, etc). | 337 // The sites this extension has permission to talk to (using XHR, etc). |
338 std::vector<URLPattern> permissions_; | 338 std::vector<URLPattern> permissions_; |
339 | 339 |
340 // URL for fetching an update manifest | 340 // URL for fetching an update manifest |
341 GURL update_url_; | 341 GURL update_url_; |
342 | 342 |
| 343 FRIEND_TEST(ExtensionTest, LoadPageActionHelper); |
| 344 |
343 DISALLOW_COPY_AND_ASSIGN(Extension); | 345 DISALLOW_COPY_AND_ASSIGN(Extension); |
344 }; | 346 }; |
345 | 347 |
346 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 348 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
OLD | NEW |