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

Side by Side Diff: extensions/renderer/api_test_base.h

Issue 703273002: Update mojo sdk to rev 04a510fb37db10642e156957f9b2c11c2f6442ac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix content/child -> mojo/common linking Created 6 years, 1 month 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
« no previous file with comments | « extensions/renderer/DEPS ('k') | extensions/renderer/api_test_base.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 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 #ifndef EXTENSIONS_RENDERER_API_TEST_BASE_H_ 5 #ifndef EXTENSIONS_RENDERER_API_TEST_BASE_H_
6 #define EXTENSIONS_RENDERER_API_TEST_BASE_H_ 6 #define EXTENSIONS_RENDERER_API_TEST_BASE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
13 #include "base/run_loop.h" 13 #include "base/run_loop.h"
14 #include "extensions/renderer/module_system_test.h" 14 #include "extensions/renderer/module_system_test.h"
15 #include "extensions/renderer/v8_schema_registry.h" 15 #include "extensions/renderer/v8_schema_registry.h"
16 #include "gin/handle.h" 16 #include "gin/handle.h"
17 #include "gin/modules/module_registry.h" 17 #include "gin/modules/module_registry.h"
18 #include "gin/object_template_builder.h" 18 #include "gin/object_template_builder.h"
19 #include "gin/wrappable.h" 19 #include "gin/wrappable.h"
20 #include "mojo/bindings/js/handle.h" 20 #include "mojo/edk/js/handle.h"
21 #include "mojo/public/cpp/bindings/interface_request.h" 21 #include "mojo/public/cpp/bindings/interface_request.h"
22 #include "mojo/public/cpp/system/core.h" 22 #include "mojo/public/cpp/system/core.h"
23 23
24 namespace extensions { 24 namespace extensions {
25 25
26 class V8SchemaRegistry; 26 class V8SchemaRegistry;
27 27
28 // A ServiceProvider that provides access from JS modules to services registered 28 // A ServiceProvider that provides access from JS modules to services registered
29 // by AddService() calls. 29 // by AddService() calls.
30 class TestServiceProvider : public gin::Wrappable<TestServiceProvider> { 30 class TestServiceProvider : public gin::Wrappable<TestServiceProvider> {
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 void RunPromisesAgain(); 95 void RunPromisesAgain();
96 96
97 base::MessageLoop message_loop_; 97 base::MessageLoop message_loop_;
98 TestServiceProvider* service_provider_; 98 TestServiceProvider* service_provider_;
99 scoped_ptr<V8SchemaRegistry> v8_schema_registry_; 99 scoped_ptr<V8SchemaRegistry> v8_schema_registry_;
100 }; 100 };
101 101
102 } // namespace extensions 102 } // namespace extensions
103 103
104 #endif // EXTENSIONS_RENDERER_API_TEST_BASE_H_ 104 #endif // EXTENSIONS_RENDERER_API_TEST_BASE_H_
OLDNEW
« no previous file with comments | « extensions/renderer/DEPS ('k') | extensions/renderer/api_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698