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 #include "extensions/common/manifest_handlers/webview_info.h" | 5 #include "extensions/common/manifest_handlers/webview_info.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <utility> | 9 #include <utility> |
8 | 10 |
9 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
10 #include "base/strings/pattern.h" | 12 #include "base/strings/pattern.h" |
11 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
12 #include "base/strings/string_util.h" | 14 #include "base/strings/string_util.h" |
13 #include "base/strings/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
14 #include "base/values.h" | 16 #include "base/values.h" |
15 #include "extensions/common/error_utils.h" | 17 #include "extensions/common/error_utils.h" |
16 #include "extensions/common/manifest.h" | 18 #include "extensions/common/manifest.h" |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 | 168 |
167 extension->SetManifestData(keys::kWebviewAccessibleResources, info.release()); | 169 extension->SetManifestData(keys::kWebviewAccessibleResources, info.release()); |
168 return true; | 170 return true; |
169 } | 171 } |
170 | 172 |
171 const std::vector<std::string> WebviewHandler::Keys() const { | 173 const std::vector<std::string> WebviewHandler::Keys() const { |
172 return SingleKey(keys::kWebview); | 174 return SingleKey(keys::kWebview); |
173 } | 175 } |
174 | 176 |
175 } // namespace extensions | 177 } // namespace extensions |
OLD | NEW |