summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/url_request_mock_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/net/url_request_mock_util.h')
-rw-r--r--chrome/browser/net/url_request_mock_util.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/chrome/browser/net/url_request_mock_util.h b/chrome/browser/net/url_request_mock_util.h
new file mode 100644
index 0000000..b3a81bb
--- /dev/null
+++ b/chrome/browser/net/url_request_mock_util.h
@@ -0,0 +1,17 @@
+// Copyright (c) 2009 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.
+
+#ifndef CHROME_BROWSER_NET_URL_REQUEST_MOCK_UTIL_H_
+#define CHROME_BROWSER_NET_URL_REQUEST_MOCK_UTIL_H_
+
+// You should use routines in this file only for test code!
+
+namespace chrome_browser_net {
+
+// Enables or disables url request filters for mocked url requests.
+void SetUrlRequestMocksEnabled(bool enabled);
+
+} // namespace chrome_browser_net
+
+#endif // CHROME_BROWSER_NET_URL_REQUEST_MOCK_UTIL_H_