| 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 EXTENSIONS_COMMON_MANIFEST_HANDLERS_SANDBOXED_PAGE_INFO_H_ | 5 #ifndef EXTENSIONS_COMMON_MANIFEST_HANDLERS_SANDBOXED_PAGE_INFO_H_ |
| 6 #define EXTENSIONS_COMMON_MANIFEST_HANDLERS_SANDBOXED_PAGE_INFO_H_ | 6 #define EXTENSIONS_COMMON_MANIFEST_HANDLERS_SANDBOXED_PAGE_INFO_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "extensions/common/extension.h" | 10 #include "extensions/common/extension.h" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 // by sandboxed pages (guaranteed to have the "sandbox" directive without the | 37 // by sandboxed pages (guaranteed to have the "sandbox" directive without the |
| 38 // "allow-same-origin" token). | 38 // "allow-same-origin" token). |
| 39 std::string content_security_policy; | 39 std::string content_security_policy; |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 class SandboxedPageHandler : public ManifestHandler { | 42 class SandboxedPageHandler : public ManifestHandler { |
| 43 public: | 43 public: |
| 44 SandboxedPageHandler(); | 44 SandboxedPageHandler(); |
| 45 virtual ~SandboxedPageHandler(); | 45 virtual ~SandboxedPageHandler(); |
| 46 | 46 |
| 47 virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; | 47 virtual bool Parse(Extension* extension, base::string16* error) override; |
| 48 | 48 |
| 49 private: | 49 private: |
| 50 virtual const std::vector<std::string> Keys() const OVERRIDE; | 50 virtual const std::vector<std::string> Keys() const override; |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 } // namespace extensions | 53 } // namespace extensions |
| 54 | 54 |
| 55 #endif // EXTENSIONS_COMMON_MANIFEST_HANDLERS_SANDBOXED_PAGE_INFO_H_ | 55 #endif // EXTENSIONS_COMMON_MANIFEST_HANDLERS_SANDBOXED_PAGE_INFO_H_ |
| OLD | NEW |