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

Side by Side Diff: content/public/common/url_utils.h

Issue 15021020: content: Extract url utility functions into url_utils.{h,cc} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix content_unittests and content_browsertests Created 7 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 | Annotate | Revision Log
« no previous file with comments | « content/public/common/url_constants.cc ('k') | content/public/common/url_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 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 CONTENT_PUBLIC_COMMON_URL_UTILS_H_
6 #define CONTENT_PUBLIC_COMMON_URL_UTILS_H_
7
8 #include "content/common/content_export.h"
9
10 class GURL;
11
12 namespace content {
13
14 // Null terminated list of schemes that are savable. This function can be
15 // invoked on any thread.
16 CONTENT_EXPORT const char* const* GetSavableSchemes();
17
18 // Returns true if the url has a scheme for WebUI. See also
19 // WebUIControllerFactory::UseWebUIForURL in the browser process.
20 CONTENT_EXPORT bool HasWebUIScheme(const GURL& url);
21
22 // Check whether we can do the saving page operation for the specified URL.
23 CONTENT_EXPORT bool IsSavableURL(const GURL& url);
24
25 } // namespace content
26
27 #endif // CONTENT_PUBLIC_COMMON_URL_UTILS_H_
OLDNEW
« no previous file with comments | « content/public/common/url_constants.cc ('k') | content/public/common/url_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698