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 <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/file_path.h" | 13 #include "base/file_path.h" |
14 #include "base/scoped_ptr.h" | 14 #include "base/scoped_ptr.h" |
15 #include "base/values.h" | 15 #include "base/values.h" |
16 #include "base/version.h" | 16 #include "base/version.h" |
17 #include "chrome/browser/extensions/extension_message_bundle.h" | |
18 #include "chrome/browser/extensions/user_script_master.h" | 17 #include "chrome/browser/extensions/user_script_master.h" |
| 18 #include "chrome/common/extensions/extension_message_bundle.h" |
19 #include "chrome/common/extensions/user_script.h" | 19 #include "chrome/common/extensions/user_script.h" |
20 #include "chrome/common/extensions/url_pattern.h" | 20 #include "chrome/common/extensions/url_pattern.h" |
21 #include "chrome/common/page_action.h" | 21 #include "chrome/common/page_action.h" |
22 #include "googleurl/src/gurl.h" | 22 #include "googleurl/src/gurl.h" |
23 | 23 |
24 // Represents a Chrome extension. | 24 // Represents a Chrome extension. |
25 class Extension { | 25 class Extension { |
26 public: | 26 public: |
27 typedef std::vector<URLPattern> HostPermissions; | 27 typedef std::vector<URLPattern> HostPermissions; |
28 | 28 |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 | 390 |
391 // True if the background page is ready. | 391 // True if the background page is ready. |
392 bool background_page_ready_; | 392 bool background_page_ready_; |
393 | 393 |
394 FRIEND_TEST(ExtensionTest, LoadPageActionHelper); | 394 FRIEND_TEST(ExtensionTest, LoadPageActionHelper); |
395 | 395 |
396 DISALLOW_COPY_AND_ASSIGN(Extension); | 396 DISALLOW_COPY_AND_ASSIGN(Extension); |
397 }; | 397 }; |
398 | 398 |
399 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 399 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
OLD | NEW |