Home | History | Annotate | Download | only in net
      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 #pragma once
      8 
      9 // You should use routines in this file only for test code!
     10 
     11 namespace chrome_browser_net {
     12 
     13 // Enables or disables url request filters for mocked url requests.
     14 void SetUrlRequestMocksEnabled(bool enabled);
     15 
     16 }  // namespace chrome_browser_net
     17 
     18 #endif  // CHROME_BROWSER_NET_URL_REQUEST_MOCK_UTIL_H_
     19