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

Unified Diff: mojo/shell/application_instance.h

Issue 1705323003: ContentHandler -> ShellClientFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delete
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
« no previous file with comments | « mojo/shell/BUILD.gn ('k') | mojo/shell/application_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/application_instance.h
diff --git a/mojo/shell/application_instance.h b/mojo/shell/application_instance.h
index c883c9fad0a00eddf0a951a74a67c77344eda5bd..6c76139379babd0dde37f9bb753ec4372dc29e43 100644
--- a/mojo/shell/application_instance.h
+++ b/mojo/shell/application_instance.h
@@ -33,14 +33,14 @@ class NativeRunner;
class ApplicationInstance : public mojom::Shell,
public mojom::PIDReceiver {
public:
- // |requesting_content_handler_id| is the id of the content handler that
- // loaded this app. If the app was not loaded by a content handler the id
- // is kInvalidContentHandlerID.
+ // |requesting_shell_client_factory_id| is the id of the factory that
+ // loaded this app. If the app was not loaded by a factory the id
+ // is kInvalidApplicationID.
ApplicationInstance(
mojom::ShellClientPtr shell_client,
ApplicationManager* manager,
const Identity& identity,
- uint32_t requesting_content_handler_id,
+ uint32_t requesting_shell_client_factory_id,
const mojom::Shell::ConnectToApplicationCallback& connect_callback,
const base::Closure& on_application_end,
const String& application_name);
@@ -64,11 +64,11 @@ class ApplicationInstance : public mojom::Shell,
base::ProcessId pid() const { return pid_; }
void set_pid(base::ProcessId pid) { pid_ = pid; }
base::Closure on_application_end() const { return on_application_end_; }
- void set_requesting_content_handler_id(uint32_t id) {
- requesting_content_handler_id_ = id;
+ void set_requesting_shell_client_factory_id(uint32_t id) {
+ requesting_shell_client_factory_id_ = id;
}
- uint32_t requesting_content_handler_id() const {
- return requesting_content_handler_id_;
+ uint32_t requesting_shell_client_factory_id() const {
+ return requesting_shell_client_factory_id_;
}
const String& application_name() const { return application_name_; }
@@ -102,7 +102,7 @@ class ApplicationInstance : public mojom::Shell,
const uint32_t id_;
const Identity identity_;
const bool allow_any_application_;
- uint32_t requesting_content_handler_id_;
+ uint32_t requesting_shell_client_factory_id_;
mojom::Shell::ConnectToApplicationCallback connect_callback_;
base::Closure on_application_end_;
mojom::ShellClientPtr shell_client_;
« no previous file with comments | « mojo/shell/BUILD.gn ('k') | mojo/shell/application_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698