Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Side by Side Diff: chrome/renderer/extensions/app_runtime_custom_bindings.cc

Issue 11946050: Update some #includes for WebSerializedScriptValue and WebArrayBufferView that were moved to a diff… (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | content/public/common/serialized_script_value.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/renderer/extensions/app_runtime_custom_bindings.h" 5 #include "chrome/renderer/extensions/app_runtime_custom_bindings.h"
6 6
7 #include "base/string_number_conversions.h" 7 #include "base/string_number_conversions.h"
8 #include "third_party/WebKit/Source/Platform/chromium/public/WebCString.h" 8 #include "third_party/WebKit/Source/Platform/chromium/public/WebCString.h"
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBlob.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBlob.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSerialize dScriptValue.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSerializedScriptVa lue.h"
12 12
13 using WebKit::WebBlob; 13 using WebKit::WebBlob;
14 using WebKit::WebSerializedScriptValue; 14 using WebKit::WebSerializedScriptValue;
15 using WebKit::WebString; 15 using WebKit::WebString;
16 16
17 namespace { 17 namespace {
18 18
19 v8::Handle<v8::Value> DeserializeString(const v8::Arguments &args) { 19 v8::Handle<v8::Value> DeserializeString(const v8::Arguments &args) {
20 DCHECK(args.Length() == 1); 20 DCHECK(args.Length() == 1);
21 DCHECK(args[0]->IsString()); 21 DCHECK(args[0]->IsString());
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 namespace extensions { 56 namespace extensions {
57 57
58 AppRuntimeCustomBindings::AppRuntimeCustomBindings() 58 AppRuntimeCustomBindings::AppRuntimeCustomBindings()
59 : ChromeV8Extension(NULL) { 59 : ChromeV8Extension(NULL) {
60 RouteStaticFunction("DeserializeString", &DeserializeString); 60 RouteStaticFunction("DeserializeString", &DeserializeString);
61 RouteStaticFunction("SerializeToString", &SerializeToString); 61 RouteStaticFunction("SerializeToString", &SerializeToString);
62 RouteStaticFunction("CreateBlob", &CreateBlob); 62 RouteStaticFunction("CreateBlob", &CreateBlob);
63 } 63 }
64 64
65 } // namespace extensions 65 } // namespace extensions
OLDNEW
« no previous file with comments | « no previous file | content/public/common/serialized_script_value.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698