OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "net/proxy/proxy_script_fetcher.h" | 5 #include "net/proxy/proxy_script_fetcher.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 return prev; | 405 return prev; |
406 } | 406 } |
407 | 407 |
408 // static | 408 // static |
409 size_t ProxyScriptFetcher::SetSizeConstraintForUnittest(size_t size_bytes) { | 409 size_t ProxyScriptFetcher::SetSizeConstraintForUnittest(size_t size_bytes) { |
410 size_t prev = max_response_bytes; | 410 size_t prev = max_response_bytes; |
411 max_response_bytes = size_bytes; | 411 max_response_bytes = size_bytes; |
412 return prev; | 412 return prev; |
413 } | 413 } |
414 | 414 |
| 415 |
415 } // namespace net | 416 } // namespace net |
OLD | NEW |