1 // Copyright (c) 2009 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 #ifndef CHROME_BROWSER_NET_URL_REQUEST_MOCK_UTIL_H_ 6 #define CHROME_BROWSER_NET_URL_REQUEST_MOCK_UTIL_H_ 7 8 // You should use routines in this file only for test code! 9 10 namespace chrome_browser_net { 11 12 // Enables or disables url request filters for mocked url requests. 13 void SetUrlRequestMocksEnabled(bool enabled); 14 15 } // namespace chrome_browser_net 16 17 #endif // CHROME_BROWSER_NET_URL_REQUEST_MOCK_UTIL_H_ 18