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

Side by Side Diff: shell/application_manager/application_manager_unittest.cc

Issue 1977023003: ApplicationConnection devolution, part 4 (the end). (Closed) Base URL: https://github.com/domokit/mojo.git@work790_app_conn_devo_3.1
Patch Set: Created 4 years, 7 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 | « services/url_response_disk_cache/url_response_disk_cache_impl.cc ('k') | shell/context.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 "shell/application_manager/application_manager.h" 5 #include "shell/application_manager/application_manager.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/at_exit.h" 9 #include "base/at_exit.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/scoped_vector.h" 12 #include "base/memory/scoped_vector.h"
13 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
14 #include "mojo/public/cpp/application/application_connection.h"
15 #include "mojo/public/cpp/application/application_delegate.h" 14 #include "mojo/public/cpp/application/application_delegate.h"
16 #include "mojo/public/cpp/application/application_impl.h" 15 #include "mojo/public/cpp/application/application_impl.h"
17 #include "mojo/public/cpp/application/connect.h" 16 #include "mojo/public/cpp/application/connect.h"
17 #include "mojo/public/cpp/application/service_provider_impl.h"
18 #include "mojo/public/cpp/bindings/strong_binding.h" 18 #include "mojo/public/cpp/bindings/strong_binding.h"
19 #include "mojo/public/interfaces/application/service_provider.mojom.h" 19 #include "mojo/public/interfaces/application/service_provider.mojom.h"
20 #include "shell/application_manager/application_loader.h" 20 #include "shell/application_manager/application_loader.h"
21 #include "shell/application_manager/test.mojom.h" 21 #include "shell/application_manager/test.mojom.h"
22 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
23 23
24 using mojo::Application; 24 using mojo::Application;
25 using mojo::ApplicationDelegate; 25 using mojo::ApplicationDelegate;
26 using mojo::ApplicationImpl; 26 using mojo::ApplicationImpl;
27 using mojo::Callback; 27 using mojo::Callback;
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after
783 bool called = false; 783 bool called = false;
784 application_manager_->ConnectToApplication( 784 application_manager_->ConnectToApplication(
785 GURL("test:test"), GURL(), nullptr, 785 GURL("test:test"), GURL(), nullptr,
786 base::Bind(&QuitClosure, base::Unretained(&called))); 786 base::Bind(&QuitClosure, base::Unretained(&called)));
787 loop_.Run(); 787 loop_.Run();
788 EXPECT_TRUE(called); 788 EXPECT_TRUE(called);
789 } 789 }
790 790
791 } // namespace 791 } // namespace
792 } // namespace shell 792 } // namespace shell
OLDNEW
« no previous file with comments | « services/url_response_disk_cache/url_response_disk_cache_impl.cc ('k') | shell/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698