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

Side by Side Diff: content/public/test/test_mojo_app.cc

Issue 1565343003: Move mojo/application/public -> mojo/shell/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetcher
Patch Set: . Created 4 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
« no previous file with comments | « content/public/test/test_mojo_app.h ('k') | content/renderer/BUILD.gn » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "content/public/test/test_mojo_app.h" 5 #include "content/public/test/test_mojo_app.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "mojo/application/public/cpp/application_connection.h" 10 #include "mojo/shell/public/cpp/application_connection.h"
11 #include "mojo/application/public/cpp/application_impl.h" 11 #include "mojo/shell/public/cpp/application_impl.h"
12 12
13 namespace content { 13 namespace content {
14 14
15 const char kTestMojoAppUrl[] = "system:content_mojo_test"; 15 const char kTestMojoAppUrl[] = "system:content_mojo_test";
16 16
17 TestMojoApp::TestMojoApp() : service_binding_(this), app_(nullptr) { 17 TestMojoApp::TestMojoApp() : service_binding_(this), app_(nullptr) {
18 } 18 }
19 19
20 TestMojoApp::~TestMojoApp() { 20 TestMojoApp::~TestMojoApp() {
21 } 21 }
(...skipping 19 matching lines...) Expand all
41 callback.Run(); 41 callback.Run();
42 DCHECK(app_); 42 DCHECK(app_);
43 app_->Quit(); 43 app_->Quit();
44 } 44 }
45 45
46 void TestMojoApp::GetRequestorURL(const GetRequestorURLCallback& callback) { 46 void TestMojoApp::GetRequestorURL(const GetRequestorURLCallback& callback) {
47 callback.Run(requestor_url_.spec()); 47 callback.Run(requestor_url_.spec());
48 } 48 }
49 49
50 } // namespace content 50 } // namespace content
OLDNEW
« no previous file with comments | « content/public/test/test_mojo_app.h ('k') | content/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698