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

Unified Diff: mojo/shell/identity.cc

Issue 1701933004: Remove the old package manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@am2
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/fetcher/url_resolver_unittest.cc ('k') | mojo/shell/package_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/identity.cc
diff --git a/mojo/shell/identity.cc b/mojo/shell/identity.cc
index be74bfbaa40c3e56fc43465357c51a1eb76f0191..fef86582e1aa67af448ebfdfee68f92476db20a4 100644
--- a/mojo/shell/identity.cc
+++ b/mojo/shell/identity.cc
@@ -4,8 +4,6 @@
#include "mojo/shell/identity.h"
-#include "mojo/shell/query_util.h"
-
namespace mojo {
namespace shell {
namespace {
@@ -30,17 +28,17 @@ CapabilityFilter CanonicalizeFilter(const CapabilityFilter& filter) {
Identity::Identity() {}
Identity::Identity(const GURL& url)
- : url_(GetBaseURLAndQuery(url, nullptr)),
+ : url_(url),
qualifier_(url_.spec()) {}
Identity::Identity(const GURL& url, const std::string& qualifier)
- : url_(GetBaseURLAndQuery(url, nullptr)),
+ : url_(url),
qualifier_(qualifier.empty() ? url_.spec() : qualifier) {}
Identity::Identity(const GURL& url,
const std::string& qualifier,
CapabilityFilter filter)
- : url_(GetBaseURLAndQuery(url, nullptr)),
+ : url_(url),
qualifier_(qualifier.empty() ? url_.spec() : qualifier),
filter_(CanonicalizeFilter(filter)) {}
« no previous file with comments | « mojo/shell/fetcher/url_resolver_unittest.cc ('k') | mojo/shell/package_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698