blob: 565d3fe288637be82ab407bd1bf9c67a2a88add7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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/public/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_
|