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