| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 EXTENSIONS_COMMON_MANIFEST_HANDLERS_WEBVIEW_INFO_H_ | 5 #ifndef EXTENSIONS_COMMON_MANIFEST_HANDLERS_WEBVIEW_INFO_H_ |
| 6 #define EXTENSIONS_COMMON_MANIFEST_HANDLERS_WEBVIEW_INFO_H_ | 6 #define EXTENSIONS_COMMON_MANIFEST_HANDLERS_WEBVIEW_INFO_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/scoped_vector.h" | 10 #include "base/memory/scoped_vector.h" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 private: | 34 private: |
| 35 ScopedVector<PartitionItem> partition_items_; | 35 ScopedVector<PartitionItem> partition_items_; |
| 36 }; | 36 }; |
| 37 | 37 |
| 38 // Parses the "webview" manifest key. | 38 // Parses the "webview" manifest key. |
| 39 class WebviewHandler : public ManifestHandler { | 39 class WebviewHandler : public ManifestHandler { |
| 40 public: | 40 public: |
| 41 WebviewHandler(); | 41 WebviewHandler(); |
| 42 virtual ~WebviewHandler(); | 42 virtual ~WebviewHandler(); |
| 43 | 43 |
| 44 virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; | 44 virtual bool Parse(Extension* extension, base::string16* error) override; |
| 45 | 45 |
| 46 private: | 46 private: |
| 47 virtual const std::vector<std::string> Keys() const OVERRIDE; | 47 virtual const std::vector<std::string> Keys() const override; |
| 48 | 48 |
| 49 DISALLOW_COPY_AND_ASSIGN(WebviewHandler); | 49 DISALLOW_COPY_AND_ASSIGN(WebviewHandler); |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 } // namespace extensions | 52 } // namespace extensions |
| 53 | 53 |
| 54 #endif // EXTENSIONS_COMMON_MANIFEST_HANDLERS_WEBVIEW_INFO_H_ | 54 #endif // EXTENSIONS_COMMON_MANIFEST_HANDLERS_WEBVIEW_INFO_H_ |
| OLD | NEW |