| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_BACKGROUND_INFO_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_BACKGROUND_INFO_H_ |
| 6 #define CHROME_COMMON_EXTENSIONS_BACKGROUND_INFO_H_ | 6 #define CHROME_COMMON_EXTENSIONS_BACKGROUND_INFO_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/values.h" | 11 #include "base/values.h" |
| 12 #include "chrome/common/extensions/extension.h" | 12 #include "chrome/common/extensions/extension.h" |
| 13 #include "extensions/common/manifest_handler.h" | 13 #include "chrome/common/extensions/manifest_handler.h" |
| 14 #include "url/gurl.h" | 14 #include "url/gurl.h" |
| 15 | 15 |
| 16 namespace extensions { | 16 namespace extensions { |
| 17 | 17 |
| 18 class BackgroundInfo : public Extension::ManifestData { | 18 class BackgroundInfo : public Extension::ManifestData { |
| 19 public: | 19 public: |
| 20 BackgroundInfo(); | 20 BackgroundInfo(); |
| 21 virtual ~BackgroundInfo(); | 21 virtual ~BackgroundInfo(); |
| 22 | 22 |
| 23 static GURL GetBackgroundURL(const Extension* extension); | 23 static GURL GetBackgroundURL(const Extension* extension); |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 std::vector<InstallWarning>* warnings) const OVERRIDE; | 86 std::vector<InstallWarning>* warnings) const OVERRIDE; |
| 87 virtual bool AlwaysParseForType(Manifest::Type type) const OVERRIDE; | 87 virtual bool AlwaysParseForType(Manifest::Type type) const OVERRIDE; |
| 88 | 88 |
| 89 private: | 89 private: |
| 90 virtual const std::vector<std::string> Keys() const OVERRIDE; | 90 virtual const std::vector<std::string> Keys() const OVERRIDE; |
| 91 }; | 91 }; |
| 92 | 92 |
| 93 } // namespace extensions | 93 } // namespace extensions |
| 94 | 94 |
| 95 #endif // CHROME_COMMON_EXTENSIONS_BACKGROUND_INFO_H_ | 95 #endif // CHROME_COMMON_EXTENSIONS_BACKGROUND_INFO_H_ |
| OLD | NEW |