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

Side by Side Diff: shell/application_manager/query_util.h

Issue 972473003: Strip query string before applying url mapping. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Follow review Created 5 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef SHELL_APPLICATION_MANAGER_QUERY_UTIL_H_
6 #define SHELL_APPLICATION_MANAGER_QUERY_UTIL_H_
7
8 #include <utility>
9
10 #include "url/gurl.h"
11
12 namespace mojo {
13
14 // Returns the base URL (without the query string). If |query| is not nullptr,
15 // set |*query| to the query string. If the url doesn't have a query string,
16 // |*query| is set to the empty string.
17 GURL GetBaseURLAndQuery(const GURL& url, std::string* query);
18
19 } // namespace mojo
20
21 #endif // SHELL_APPLICATION_MANAGER_QUERY_UTIL_H_
OLDNEW
« no previous file with comments | « shell/application_manager/application_manager.cc ('k') | shell/application_manager/query_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698