| OLD | NEW |
| (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_ |
| OLD | NEW |