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_BROWSER_BROWSER_URL_HANDLER_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_BROWSER_URL_HANDLER_IMPL_H_ |
6 #define CONTENT_BROWSER_BROWSER_URL_HANDLER_IMPL_H_ | 6 #define CONTENT_BROWSER_BROWSER_URL_HANDLER_IMPL_H_ |
7 #pragma once | |
8 | 7 |
9 #include <vector> | 8 #include <vector> |
10 #include <utility> | 9 #include <utility> |
11 | 10 |
12 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
13 #include "base/memory/singleton.h" | 12 #include "base/memory/singleton.h" |
14 #include "content/public/browser/browser_url_handler.h" | 13 #include "content/public/browser/browser_url_handler.h" |
15 | 14 |
16 class GURL; | 15 class GURL; |
17 | 16 |
(...skipping 28 matching lines...) Expand all Loading... |
46 typedef std::pair<URLHandler, URLHandler> HandlerPair; | 45 typedef std::pair<URLHandler, URLHandler> HandlerPair; |
47 std::vector<HandlerPair> url_handlers_; | 46 std::vector<HandlerPair> url_handlers_; |
48 | 47 |
49 FRIEND_TEST_ALL_PREFIXES(BrowserURLHandlerImplTest, BasicRewriteAndReverse); | 48 FRIEND_TEST_ALL_PREFIXES(BrowserURLHandlerImplTest, BasicRewriteAndReverse); |
50 FRIEND_TEST_ALL_PREFIXES(BrowserURLHandlerImplTest, NullHandlerReverse); | 49 FRIEND_TEST_ALL_PREFIXES(BrowserURLHandlerImplTest, NullHandlerReverse); |
51 | 50 |
52 DISALLOW_COPY_AND_ASSIGN(BrowserURLHandlerImpl); | 51 DISALLOW_COPY_AND_ASSIGN(BrowserURLHandlerImpl); |
53 }; | 52 }; |
54 | 53 |
55 #endif // CONTENT_BROWSER_BROWSER_URL_HANDLER_IMPL_H_ | 54 #endif // CONTENT_BROWSER_BROWSER_URL_HANDLER_IMPL_H_ |
OLD | NEW |