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

Unified Diff: shell/application_manager/url_and_identity.h

Issue 979203002: Index application by URL and identity for multiprocess. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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: shell/application_manager/url_and_identity.h
diff --git a/shell/application_manager/url_and_identity.h b/shell/application_manager/url_and_identity.h
new file mode 100644
index 0000000000000000000000000000000000000000..4a8367e73d259f825229f15c7f4e0b5257738d63
--- /dev/null
+++ b/shell/application_manager/url_and_identity.h
@@ -0,0 +1,25 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef SHELL_APPLICATION_MANAGER_URL_AND_IDENTITY_H_
+#define SHELL_APPLICATION_MANAGER_URL_AND_IDENTITY_H_
+
+#include "url/gurl.h"
+
+namespace mojo {
+namespace shell {
+
+struct URLAndIdentity {
DaveMoore 2015/03/06 17:32:08 Please find a better name for this. URLAndIdentity
qsr 2015/03/09 16:22:47 Changed to Identity, is that fine with you?
+ URLAndIdentity(const GURL& url, const std::string& identity);
+ explicit URLAndIdentity(const GURL& url);
+ bool operator<(const URLAndIdentity& other) const;
+
+ const GURL url;
+ const std::string identity;
+};
+
+} // namespace shell
+} // namespace mojo
+
+#endif // SHELL_APPLICATION_MANAGER_URL_AND_IDENTITY_H_

Powered by Google App Engine
This is Rietveld 408576698