Index: shell/application_manager/identity.h |
diff --git a/shell/application_manager/identity.h b/shell/application_manager/identity.h |
index b6745a5ee2e000ef457ae90d3157fa68a1a19f4b..4cbfa59676f16e136d06a7f8228f5a4b6d9e6a86 100644 |
--- a/shell/application_manager/identity.h |
+++ b/shell/application_manager/identity.h |
@@ -13,11 +13,14 @@ namespace shell { |
* Represents the identity of an application. |url| is the url of the |
* application. |qualifier| is a string that allows to tie a specific instance |
* of an application to another. It is used by content handlers that need to be |
- * run in the context of another application. |
+ * run in the context of another application. If |with_query| is true, 2 urls |
+ * with different query parameters will not have the same identity. |
ppi
2015/11/24 10:47:21
Can you describe the cases when we want to be "que
qsr
2015/11/24 12:24:32
Changed identity to not care about query at all.
|
*/ |
struct Identity { |
- Identity(const GURL& url, const std::string& qualifier); |
- explicit Identity(const GURL& url); |
+ Identity(const GURL& url, |
+ const std::string& qualifier, |
+ bool with_query = false); |
ppi
2015/11/24 10:47:21
Passing "with_query" in a constructor results in w
ppi
2015/11/24 10:47:21
"bool query_sensitive" would probably be clearer -
qsr
2015/11/24 12:24:32
Acknowledged.
qsr
2015/11/24 12:24:32
Acknowledged.
|
+ explicit Identity(const GURL& url, bool with_query = false); |
bool operator<(const Identity& other) const; |
const GURL url; |