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

Side by Side Diff: extensions/renderer/bindings/api_binding_hooks_test_delegate.cc

Issue 2947463002: [Extensions Bindings] Add a bindings/ subdirectory under renderer (Closed)
Patch Set: . Created 3 years, 5 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
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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/renderer/api_binding_hooks_test_delegate.h" 5 #include "extensions/renderer/bindings/api_binding_hooks_test_delegate.h"
6 6
7 namespace extensions { 7 namespace extensions {
8 8
9 APIBindingHooksTestDelegate::APIBindingHooksTestDelegate() {} 9 APIBindingHooksTestDelegate::APIBindingHooksTestDelegate() {}
10 APIBindingHooksTestDelegate::~APIBindingHooksTestDelegate() {} 10 APIBindingHooksTestDelegate::~APIBindingHooksTestDelegate() {}
11 11
12 bool APIBindingHooksTestDelegate::CreateCustomEvent( 12 bool APIBindingHooksTestDelegate::CreateCustomEvent(
13 v8::Local<v8::Context> context, 13 v8::Local<v8::Context> context,
14 const binding::RunJSFunctionSync& run_js_sync, 14 const binding::RunJSFunctionSync& run_js_sync,
15 const std::string& event_name, 15 const std::string& event_name,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 void APIBindingHooksTestDelegate::InitializeTemplate( 53 void APIBindingHooksTestDelegate::InitializeTemplate(
54 v8::Isolate* isolate, 54 v8::Isolate* isolate,
55 v8::Local<v8::ObjectTemplate> object_template, 55 v8::Local<v8::ObjectTemplate> object_template,
56 const APITypeReferenceMap& type_refs) { 56 const APITypeReferenceMap& type_refs) {
57 if (template_initializer_) 57 if (template_initializer_)
58 template_initializer_.Run(isolate, object_template, type_refs); 58 template_initializer_.Run(isolate, object_template, type_refs);
59 } 59 }
60 60
61 } // namespace extensions 61 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/renderer/bindings/api_binding_hooks_test_delegate.h ('k') | extensions/renderer/bindings/api_binding_js_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698