| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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> |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 // Chrome URL overrides (see ExtensionOverrideUI). | 297 // Chrome URL overrides (see ExtensionOverrideUI). |
| 298 const URLOverrideMap& GetChromeURLOverrides() const { | 298 const URLOverrideMap& GetChromeURLOverrides() const { |
| 299 return chrome_url_overrides_; | 299 return chrome_url_overrides_; |
| 300 } | 300 } |
| 301 | 301 |
| 302 bool web_content_enabled() const { return web_content_enabled_; } | 302 bool web_content_enabled() const { return web_content_enabled_; } |
| 303 const ExtensionExtent& web_extent() const { return web_extent_; } | 303 const ExtensionExtent& web_extent() const { return web_extent_; } |
| 304 | 304 |
| 305 const std::string& launch_local_path() const { return launch_local_path_; } | 305 const std::string& launch_local_path() const { return launch_local_path_; } |
| 306 const std::string& launch_web_url() const { return launch_web_url_; } | 306 const std::string& launch_web_url() const { return launch_web_url_; } |
| 307 const LaunchContainer launch_container() const { return launch_container_; } | 307 LaunchContainer launch_container() const { return launch_container_; } |
| 308 | 308 |
| 309 // Gets the fully resolved absolute launch URL. | 309 // Gets the fully resolved absolute launch URL. |
| 310 GURL GetFullLaunchURL() const; | 310 GURL GetFullLaunchURL() const; |
| 311 | 311 |
| 312 // Runtime data: | 312 // Runtime data: |
| 313 // Put dynamic data about the state of a running extension below. | 313 // Put dynamic data about the state of a running extension below. |
| 314 | 314 |
| 315 // Whether the background page, if any, is ready. We don't load other | 315 // Whether the background page, if any, is ready. We don't load other |
| 316 // components until then. If there is no background page, we consider it to | 316 // components until then. If there is no background page, we consider it to |
| 317 // be ready. | 317 // be ready. |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 512 scoped_ptr<DictionaryValue> extension_manifest; | 512 scoped_ptr<DictionaryValue> extension_manifest; |
| 513 std::string extension_id; | 513 std::string extension_id; |
| 514 FilePath extension_path; | 514 FilePath extension_path; |
| 515 Extension::Location extension_location; | 515 Extension::Location extension_location; |
| 516 | 516 |
| 517 private: | 517 private: |
| 518 DISALLOW_COPY_AND_ASSIGN(ExtensionInfo); | 518 DISALLOW_COPY_AND_ASSIGN(ExtensionInfo); |
| 519 }; | 519 }; |
| 520 | 520 |
| 521 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 521 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
| OLD | NEW |