Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 IOS_WEB_PUBLIC_BROWSER_URL_REWRITER_H_ | 5 #ifndef IOS_WEB_PUBLIC_BROWSER_URL_REWRITER_H_ |
| 6 #define IOS_WEB_PUBLIC_BROWSER_URL_REWRITER_H_ | 6 #define IOS_WEB_PUBLIC_BROWSER_URL_REWRITER_H_ |
| 7 | 7 |
| 8 #include <vector> | |
|
kkhorimoto
2015/09/24 00:55:48
Not sure why, but my changes in this CL made it so
| |
| 9 | |
| 8 class GURL; | 10 class GURL; |
| 9 | 11 |
| 10 namespace web { | 12 namespace web { |
| 11 | 13 |
| 12 class BrowserState; | 14 class BrowserState; |
| 13 | 15 |
| 14 // Some special browser-level URLs (like "about:version") are handled before | 16 // Some special browser-level URLs (like "about:version") are handled before |
| 15 // actually being loaded by the web view, allowing the embedder to optionally | 17 // actually being loaded by the web view, allowing the embedder to optionally |
| 16 // convert them to app-specific URLs that to be handled using | 18 // convert them to app-specific URLs that to be handled using |
| 17 // CRWNativeContentProviders. | 19 // CRWNativeContentProviders. |
| (...skipping 23 matching lines...) Expand all Loading... | |
| 41 // Adds |rewriter| to the list of URL rewriters. |rewriter| must not be null. | 43 // Adds |rewriter| to the list of URL rewriters. |rewriter| must not be null. |
| 42 virtual void AddURLRewriter(URLRewriter rewriter) = 0; | 44 virtual void AddURLRewriter(URLRewriter rewriter) = 0; |
| 43 | 45 |
| 44 protected: | 46 protected: |
| 45 virtual ~BrowserURLRewriter() {} | 47 virtual ~BrowserURLRewriter() {} |
| 46 }; | 48 }; |
| 47 | 49 |
| 48 } // namespace web | 50 } // namespace web |
| 49 | 51 |
| 50 #endif // IOS_WEB_PUBLIC_BROWSER_URL_REWRITER_H_ | 52 #endif // IOS_WEB_PUBLIC_BROWSER_URL_REWRITER_H_ |
| OLD | NEW |