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

Side by Side Diff: mojo/application_manager/application_loader.h

Issue 506103002: Rename ApplicationLoader::OnServiceError to OnApplicationError (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge nits Created 6 years, 3 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 | « no previous file | mojo/application_manager/application_manager.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 #ifndef MOJO_APPLICATION_MANAGER_APPLICATION_LOADER_H_ 5 #ifndef MOJO_APPLICATION_MANAGER_APPLICATION_LOADER_H_
6 #define MOJO_APPLICATION_MANAGER_APPLICATION_LOADER_H_ 6 #define MOJO_APPLICATION_MANAGER_APPLICATION_LOADER_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "mojo/application_manager/application_manager_export.h" 9 #include "mojo/application_manager/application_manager_export.h"
10 #include "mojo/public/cpp/system/core.h" 10 #include "mojo/public/cpp/system/core.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 // 68 //
69 // 2. |url| can refer to some content that can be handled by some other Mojo 69 // 2. |url| can refer to some content that can be handled by some other Mojo
70 // application. In this case, call callbacks->LoadWithContentHandler() and 70 // application. In this case, call callbacks->LoadWithContentHandler() and
71 // specify the URL of the application that should handle the content. 71 // specify the URL of the application that should handle the content.
72 // The specified application must implement the mojo.ContentHandler 72 // The specified application must implement the mojo.ContentHandler
73 // interface. 73 // interface.
74 virtual void Load(ApplicationManager* application_manager, 74 virtual void Load(ApplicationManager* application_manager,
75 const GURL& url, 75 const GURL& url,
76 scoped_refptr<LoadCallbacks> callbacks) = 0; 76 scoped_refptr<LoadCallbacks> callbacks) = 0;
77 77
78 // TODO(davemoore): Change name to OnApplicationError. 78 // Called when the Application exits.
79 virtual void OnServiceError(ApplicationManager* manager, const GURL& url) = 0; 79 virtual void OnApplicationError(ApplicationManager* manager,
80 const GURL& url) = 0;
80 81
81 protected: 82 protected:
82 ApplicationLoader() {} 83 ApplicationLoader() {}
83 }; 84 };
84 85
85 } // namespace mojo 86 } // namespace mojo
86 87
87 #endif // MOJO_APPLICATION_MANAGER_APPLICATION_LOADER_H_ 88 #endif // MOJO_APPLICATION_MANAGER_APPLICATION_LOADER_H_
OLDNEW
« no previous file with comments | « no previous file | mojo/application_manager/application_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698