OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_COMMON_TEST_URL_CONSTANTS_H_ | 5 #ifndef CONTENT_COMMON_TEST_URL_CONSTANTS_H_ |
6 #define CONTENT_COMMON_TEST_URL_CONSTANTS_H_ | 6 #define CONTENT_COMMON_TEST_URL_CONSTANTS_H_ |
7 | 7 |
8 // Contains constants for known URLs and portions thereof. | 8 // Contains constants for known URLs and portions thereof. |
9 namespace content { | 9 namespace content { |
10 | 10 |
11 // Various special URLs used for testing. They have the same values as the URLs | |
12 // in chrome/common/url_constants.h, but are duplicated here so that the reverse | |
13 // dependency can be broken. | |
14 | |
15 // Various URLs used in security policy testing. | |
16 extern const char kTestCacheURL[]; | |
17 | |
18 // The NTP is assumed in several tests to have the property that it is WebUI. | 11 // The NTP is assumed in several tests to have the property that it is WebUI. |
19 extern const char kTestNewTabURL[]; | 12 extern const char kTestNewTabURL[]; |
20 | 13 |
21 // The History page is assumed in several tests to have the property that it is | |
22 // WebUI. That's the case only with the ChromeBrowserContentClient | |
23 // implementation of WebUIFactory. With a different implementation that might | |
24 // not be the case. | |
25 extern const char kTestHistoryURL[]; | |
26 | |
27 // The Bookmarks page is assumed in several tests to have the property that it | |
28 // is an extension. That's the case only with the ChromeBrowserContentClient | |
29 // implementation of WebUIFactory. With a different implementation that might | |
30 // not be the case. | |
31 extern const char kTestBookmarksURL[]; | |
32 | |
33 } // namespace content | 14 } // namespace content |
34 | 15 |
35 #endif // CONTENT_COMMON_TEST_URL_CONSTANTS_H_ | 16 #endif // CONTENT_COMMON_TEST_URL_CONSTANTS_H_ |
OLD | NEW |