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

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

Issue 16109004: Update refernces to Blink's Platform API (chrome) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 6 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
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/bind.h" 7 #include "base/bind.h"
8 #include "base/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebCString.h" 9 #include "third_party/WebKit/public/platform/WebCString.h"
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" 10 #include "third_party/WebKit/public/platform/WebString.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBlob.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBlob.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSerializedScriptVa lue.h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSerializedScriptVa lue.h"
13 13
14 using WebKit::WebBlob; 14 using WebKit::WebBlob;
15 using WebKit::WebSerializedScriptValue; 15 using WebKit::WebSerializedScriptValue;
16 using WebKit::WebString; 16 using WebKit::WebString;
17 17
18 namespace { 18 namespace {
19 19
20 v8::Handle<v8::Value> DeserializeString(const v8::Arguments &args) { 20 v8::Handle<v8::Value> DeserializeString(const v8::Arguments &args) {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 AppRuntimeCustomBindings::AppRuntimeCustomBindings( 59 AppRuntimeCustomBindings::AppRuntimeCustomBindings(
60 Dispatcher* dispatcher, 60 Dispatcher* dispatcher,
61 v8::Handle<v8::Context> context) : ChromeV8Extension(dispatcher, context) { 61 v8::Handle<v8::Context> context) : ChromeV8Extension(dispatcher, context) {
62 RouteFunction("DeserializeString", base::Bind(&DeserializeString)); 62 RouteFunction("DeserializeString", base::Bind(&DeserializeString));
63 RouteFunction("SerializeToString", base::Bind(&SerializeToString)); 63 RouteFunction("SerializeToString", base::Bind(&SerializeToString));
64 RouteFunction("CreateBlob", base::Bind(&CreateBlob)); 64 RouteFunction("CreateBlob", base::Bind(&CreateBlob));
65 } 65 }
66 66
67 } // namespace extensions 67 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/renderer/content_settings_observer.cc ('k') | chrome/renderer/extensions/chrome_v8_context_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698