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

Unified Diff: services/kiosk_wm/kiosk_wm.h

Issue 943053003: Simple multi-url support for mojo apps (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: hate 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
Index: services/kiosk_wm/kiosk_wm.h
diff --git a/services/kiosk_wm/kiosk_wm.h b/services/kiosk_wm/kiosk_wm.h
index 309f50edcf381ba4a12d2d72e184e464dcf28a73..52b2b7dff80ce060d505eacbbac44274f264c8e3 100644
--- a/services/kiosk_wm/kiosk_wm.h
+++ b/services/kiosk_wm/kiosk_wm.h
@@ -34,13 +34,14 @@ class KioskWM : public mojo::ApplicationDelegate,
base::WeakPtr<KioskWM> GetWeakPtr();
- void ReplaceContentWithURL(const mojo::String& url);
+ void ReplaceContentWithURL(const std::string& url);
private:
// Overridden from mojo::ApplicationDelegate:
void Initialize(mojo::ApplicationImpl* app) override;
bool ConfigureIncomingConnection(
- mojo::ApplicationConnection* connection) override;
+ mojo::ApplicationConnection* connection,
+ const std::string& url) override;
bool ConfigureOutgoingConnection(
mojo::ApplicationConnection* connection) override;

Powered by Google App Engine
This is Rietveld 408576698