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_MANIFEST_HANDLERS_APP_LAUNCH_INFO_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_APP_LAUNCH_INFO_H_ |
6 #define CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_APP_LAUNCH_INFO_H_ | 6 #define CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_APP_LAUNCH_INFO_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 62 |
63 DISALLOW_COPY_AND_ASSIGN(AppLaunchInfo); | 63 DISALLOW_COPY_AND_ASSIGN(AppLaunchInfo); |
64 }; | 64 }; |
65 | 65 |
66 // Parses all app launch related keys in the manifest. | 66 // Parses all app launch related keys in the manifest. |
67 class AppLaunchManifestHandler : public ManifestHandler { | 67 class AppLaunchManifestHandler : public ManifestHandler { |
68 public: | 68 public: |
69 AppLaunchManifestHandler(); | 69 AppLaunchManifestHandler(); |
70 virtual ~AppLaunchManifestHandler(); | 70 virtual ~AppLaunchManifestHandler(); |
71 | 71 |
72 virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; | 72 virtual bool Parse(Extension* extension, base::string16* error) override; |
73 virtual bool AlwaysParseForType(Manifest::Type type) const OVERRIDE; | 73 virtual bool AlwaysParseForType(Manifest::Type type) const override; |
74 | 74 |
75 private: | 75 private: |
76 virtual const std::vector<std::string> Keys() const OVERRIDE; | 76 virtual const std::vector<std::string> Keys() const override; |
77 | 77 |
78 DISALLOW_COPY_AND_ASSIGN(AppLaunchManifestHandler); | 78 DISALLOW_COPY_AND_ASSIGN(AppLaunchManifestHandler); |
79 }; | 79 }; |
80 | 80 |
81 } // namespace extensions | 81 } // namespace extensions |
82 | 82 |
83 #endif // CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_APP_LAUNCH_INFO_H_ | 83 #endif // CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_APP_LAUNCH_INFO_H_ |
OLD | NEW |