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

Unified Diff: mandoline/services/updater/updater_app.h

Issue 1674903003: Extract shell methods from ApplicationImpl into a base class, and pass this to Initialize() instead. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojom
Patch Set: . Created 4 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
Index: mandoline/services/updater/updater_app.h
diff --git a/mandoline/services/updater/updater_app.h b/mandoline/services/updater/updater_app.h
index 8c7ffd3d585b9e2f7bc2dc565b4c8297401530d9..818efb94481d8b87fd94bab0b23aeb837050ee48 100644
--- a/mandoline/services/updater/updater_app.h
+++ b/mandoline/services/updater/updater_app.h
@@ -11,7 +11,7 @@
namespace mojo {
class ApplicationConnection;
-class ApplicationImpl;
+class Shell;
} // namespace mojo
namespace updater {
@@ -24,9 +24,9 @@ class UpdaterApp : public mojo::ApplicationDelegate,
UpdaterApp();
~UpdaterApp() override;
- void Initialize(mojo::ApplicationImpl* app) override;
-
// mojo::ApplicationDelegate:
+ void Initialize(mojo::Shell* shell, const std::string& url,
+ uint32_t id) override;
bool AcceptConnection(
mojo::ApplicationConnection* connection) override;
@@ -35,7 +35,7 @@ class UpdaterApp : public mojo::ApplicationDelegate,
mojo::InterfaceRequest<Updater> request) override;
private:
- mojo::ApplicationImpl* app_impl_;
+ mojo::Shell* shell_;
DISALLOW_COPY_AND_ASSIGN(UpdaterApp);
};
« no previous file with comments | « mandoline/services/core_services/core_services_application_delegate.cc ('k') | mandoline/services/updater/updater_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698