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

Unified Diff: shell/android/background_application_loader_unittest.cc

Issue 930243006: Simplify the ApplicationLoader interface in preparation for changes. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: ptal Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « shell/android/background_application_loader.cc ('k') | shell/android/native_viewport_application_loader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/android/background_application_loader_unittest.cc
diff --git a/shell/android/background_application_loader_unittest.cc b/shell/android/background_application_loader_unittest.cc
index 62e9234e9e5a45c66bf23e9dedd16e4ed868c16b..5a6360dedbf1e8fbd8b0a1853cda059d9d67ecee 100644
--- a/shell/android/background_application_loader_unittest.cc
+++ b/shell/android/background_application_loader_unittest.cc
@@ -17,10 +17,8 @@ class DummyLoader : public ApplicationLoader {
~DummyLoader() override {}
// ApplicationLoader overrides:
- void Load(ApplicationManager* manager,
- const GURL& url,
- InterfaceRequest<Application> application_request,
- LoadCallback callback) override {
+ void Load(const GURL& url,
+ InterfaceRequest<Application> application_request) override {
if (simulate_app_quit_)
base::MessageLoop::current()->Quit();
}
@@ -50,8 +48,7 @@ TEST(BackgroundApplicationLoaderTest, Load) {
BackgroundApplicationLoader loader(real_loader.Pass(), "test",
base::MessageLoop::TYPE_DEFAULT);
ApplicationPtr application;
- loader.Load(NULL, GURL(), GetProxy(&application),
- ApplicationLoader::SimpleLoadCallback());
+ loader.Load(GURL(), GetProxy(&application));
}
} // namespace mojo
« no previous file with comments | « shell/android/background_application_loader.cc ('k') | shell/android/native_viewport_application_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698