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

Unified Diff: shell/application_manager/identity.cc

Issue 1472923002: Allows URL queries to be passed to contet handlers. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Follow review Created 5 years, 1 month 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 | « shell/application_manager/application_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/application_manager/identity.cc
diff --git a/shell/application_manager/identity.cc b/shell/application_manager/identity.cc
index c40a73cfb03110938054be5f76ad1c7ae7eb100b..b273f99c6a7060b953125bc02a2c5e1343ad8564 100644
--- a/shell/application_manager/identity.cc
+++ b/shell/application_manager/identity.cc
@@ -9,12 +9,9 @@
namespace shell {
Identity::Identity(const GURL& url, const std::string& qualifier)
- : url(GetBaseURLAndQuery(url, nullptr)), qualifier(qualifier) {
-}
+ : url(url), qualifier(qualifier) {}
-Identity::Identity(const GURL& base_url)
- : url(GetBaseURLAndQuery(base_url, nullptr)), qualifier(url.spec()) {
-}
+Identity::Identity(const GURL& url) : url(url), qualifier(url.spec()) {}
bool Identity::operator<(const Identity& other) const {
if (url != other.url)
« no previous file with comments | « shell/application_manager/application_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698