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

Unified Diff: mojo/application_manager/application_loader.h

Issue 513573002: Mojo: Fix two bugs in content handling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Darin comments, updates for Android toolchain Created 6 years, 4 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: mojo/application_manager/application_loader.h
diff --git a/mojo/application_manager/application_loader.h b/mojo/application_manager/application_loader.h
index 5e89a061c4a32557f74a949e704e4c0b677891fe..ad8b80aab11d1f21a673ea3c162bb0a6a2885904 100644
--- a/mojo/application_manager/application_loader.h
+++ b/mojo/application_manager/application_loader.h
@@ -34,7 +34,8 @@ class MOJO_APPLICATION_MANAGER_EXPORT ApplicationLoader {
// Load the requested application with a content handler.
virtual void LoadWithContentHandler(const GURL& content_handler_url,
- URLResponsePtr response) = 0;
+ URLResponsePtr url_response,
darin (slow to review) 2014/08/27 06:34:19 Did you considered using ContentHandlerResponsePtr
Aaron Boodman 2014/08/27 18:26:13 I did consider that... I didn't do it because it d
+ URLLoaderPtr url_loader) = 0;
protected:
friend base::RefCounted<LoadCallbacks>;
@@ -49,7 +50,8 @@ class MOJO_APPLICATION_MANAGER_EXPORT ApplicationLoader {
SimpleLoadCallbacks(ScopedMessagePipeHandle shell_handle);
virtual ScopedMessagePipeHandle RegisterApplication() OVERRIDE;
virtual void LoadWithContentHandler(const GURL& content_handler_url,
- URLResponsePtr response) OVERRIDE;
+ URLResponsePtr response,
+ URLLoaderPtr loader) OVERRIDE;
private:
ScopedMessagePipeHandle shell_handle_;

Powered by Google App Engine
This is Rietveld 408576698