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

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

Issue 10820056: Move the render process host tests in content to chrome. These test chrome specific behavior with t… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698