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

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

Issue 1091513005: Separate mojo/shell into a runner and the application manager (shell) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 7 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
« no previous file with comments | « mojo/shell/out_of_process_native_runner.cc ('k') | mojo/shell/query_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SHELL_APPLICATION_MANAGER_QUERY_UTIL_H_ 5 #ifndef MOJO_SHELL_QUERY_UTIL_H_
6 #define SHELL_APPLICATION_MANAGER_QUERY_UTIL_H_ 6 #define MOJO_SHELL_QUERY_UTIL_H_
7 7
8 #include <utility> 8 #include <utility>
9 9
10 #include "url/gurl.h" 10 #include "url/gurl.h"
11 11
12 namespace mojo { 12 namespace mojo {
13 namespace shell { 13 namespace shell {
14 14
15 // Returns the base URL (without the query string). If |query| is not nullptr, 15 // Returns the base URL (without the query string). If |query| is not nullptr,
16 // set |*query| to the query string. If the url doesn't have a query string, 16 // set |*query| to the query string. If the url doesn't have a query string,
17 // |*query| is set to the empty string. 17 // |*query| is set to the empty string.
18 GURL GetBaseURLAndQuery(const GURL& url, std::string* query); 18 GURL GetBaseURLAndQuery(const GURL& url, std::string* query);
19 19
20 } // namespace shell 20 } // namespace shell
21 } // namespace mojo 21 } // namespace mojo
22 22
23 #endif // SHELL_APPLICATION_MANAGER_QUERY_UTIL_H_ 23 #endif // MOJO_SHELL_QUERY_UTIL_H_
OLDNEW
« no previous file with comments | « mojo/shell/out_of_process_native_runner.cc ('k') | mojo/shell/query_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698