Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Side by Side Diff: content/common/test_url_constants.h

Issue 7049010: Finish removing url_constants from content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: constants Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW
« no previous file with comments | « content/browser/tab_contents/render_view_host_manager_unittest.cc ('k') | content/common/test_url_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698