OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_PUBLIC_BROWSER_BROWSER_URL_HANDLER_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_URL_HANDLER_H_ |
6 #define CONTENT_PUBLIC_BROWSER_BROWSER_URL_HANDLER_H_ | 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_URL_HANDLER_H_ |
7 #pragma once | |
8 | 7 |
9 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
10 | 9 |
11 class GURL; | 10 class GURL; |
12 | 11 |
13 namespace content { | 12 namespace content { |
14 class BrowserContext; | 13 class BrowserContext; |
15 | 14 |
16 // We handle some special browser-level URLs (like "about:version") | 15 // We handle some special browser-level URLs (like "about:version") |
17 // before they're handed to a renderer. This lets us do the URL handling | 16 // before they're handed to a renderer. This lets us do the URL handling |
(...skipping 30 matching lines...) Expand all Loading... |
48 virtual void AddHandlerPair(URLHandler handler, | 47 virtual void AddHandlerPair(URLHandler handler, |
49 URLHandler reverse_handler) = 0; | 48 URLHandler reverse_handler) = 0; |
50 | 49 |
51 protected: | 50 protected: |
52 virtual ~BrowserURLHandler() {} | 51 virtual ~BrowserURLHandler() {} |
53 }; | 52 }; |
54 | 53 |
55 } // namespace content | 54 } // namespace content |
56 | 55 |
57 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_URL_HANDLER_H_ | 56 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_URL_HANDLER_H_ |
OLD | NEW |