summaryrefslogtreecommitdiffstats
path: root/content/common/test_url_constants.h
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-24 19:38:31 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-24 19:38:31 +0000
commita30f7d3b75631070c2eae4c68f1dfb730234d0b6 (patch)
treeba3d03efdf7f6da64d1ff427b11ecafbab7126a2 /content/common/test_url_constants.h
parent7d36dcaef8f2a5c030ec5402e3fbe1f515a6d737 (diff)
downloadchromium_src-a30f7d3b75631070c2eae4c68f1dfb730234d0b6.zip
chromium_src-a30f7d3b75631070c2eae4c68f1dfb730234d0b6.tar.gz
chromium_src-a30f7d3b75631070c2eae4c68f1dfb730234d0b6.tar.bz2
Finish removing url_constants from content/.
BUG=76697 TEST=compiles Review URL: http://codereview.chromium.org/7049010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86469 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/test_url_constants.h')
-rw-r--r--content/common/test_url_constants.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/content/common/test_url_constants.h b/content/common/test_url_constants.h
new file mode 100644
index 0000000..4c81bb0
--- /dev/null
+++ b/content/common/test_url_constants.h
@@ -0,0 +1,43 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Contains constants for known URLs and portions thereof.
+
+#ifndef CONTENT_COMMON_TEST_URL_CONSTANTS_H_
+#define CONTENT_COMMON_TEST_URL_CONSTANTS_H_
+#pragma once
+
+#include "content/common/url_constants.h"
+
+namespace chrome {
+
+// Various special URLs used for testing. They have the same values as the URLs
+// in chrome/common/url_constants.h, but are duplicated here so that the reverse
+// dependency can be broken.
+
+// Various URLs used in security policy testing.
+extern const char kTestCacheURL[];
+extern const char kTestHangURL[];
+
+// The About pages are assumed in several tests to not be a WebUI page.
+extern const char kTestMemoryURL[];
+
+// The NTP is assumed in several tests to have the property that it is WebUI.
+extern const char kTestNewTabURL[];
+
+// The History page is assumed in several tests to have the property that it is
+// WebUI. That's the case only with the ChromeBrowserContentClient
+// implementation of WebUIFactory. With a different implementation that might
+// not be the case.
+extern const char kTestHistoryURL[];
+
+// The Bookmarks page is assumed in several tests to have the property that it
+// is an extension. That's the case only with the ChromeBrowserContentClient
+// implementation of WebUIFactory. With a different implementation that might
+// not be the case.
+extern const char kTestBookmarksURL[];
+
+} // namespace chrome
+
+#endif // CONTENT_COMMON_TEST_URL_CONSTANTS_H_