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

Side by Side Diff: mojo/shell/public/cpp/lib/application_test_base.cc

Issue 1775113003: Morph CapabilityFilter into caps::Capabilities, which supports capability classes (yet unimplemente… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@44cattests
Patch Set: . Created 4 years, 9 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
« no previous file with comments | « mojo/shell/public/cpp/capabilities.h ('k') | mojo/shell/public/cpp/lib/capabilities.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 #include <utility> 5 #include <utility>
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 g_id = id; 50 g_id = id;
51 g_shell_client_request = binding_.Unbind(); 51 g_shell_client_request = binding_.Unbind();
52 g_connector = std::move(connector); 52 g_connector = std::move(connector);
53 } 53 }
54 54
55 void AcceptConnection( 55 void AcceptConnection(
56 shell::mojom::IdentityPtr source, 56 shell::mojom::IdentityPtr source,
57 uint32_t source_id, 57 uint32_t source_id,
58 shell::mojom::InterfaceProviderRequest local_interfaces, 58 shell::mojom::InterfaceProviderRequest local_interfaces,
59 shell::mojom::InterfaceProviderPtr remote_interfaces, 59 shell::mojom::InterfaceProviderPtr remote_interfaces,
60 Array<String> allowed_interfaces, 60 shell::mojom::CapabilityRequestPtr capability_spec,
61 const String& name) override { 61 const String& name) override {
62 CHECK(false); 62 CHECK(false);
63 } 63 }
64 64
65 Binding<ShellClient> binding_; 65 Binding<ShellClient> binding_;
66 }; 66 };
67 67
68 } // namespace 68 } // namespace
69 69
70 MojoResult RunAllTests(MojoHandle shell_client_request_handle) { 70 MojoResult RunAllTests(MojoHandle shell_client_request_handle) {
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 CHECK(!base::MessageLoop::current()); 164 CHECK(!base::MessageLoop::current());
165 } 165 }
166 } 166 }
167 167
168 bool ApplicationTestBase::ShouldCreateDefaultRunLoop() { 168 bool ApplicationTestBase::ShouldCreateDefaultRunLoop() {
169 return true; 169 return true;
170 } 170 }
171 171
172 } // namespace test 172 } // namespace test
173 } // namespace mojo 173 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/shell/public/cpp/capabilities.h ('k') | mojo/shell/public/cpp/lib/capabilities.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698