Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1541)

Side by Side Diff: net/filter/mock_filter_context.cc

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/filter/mock_filter_context.h ('k') | net/filter/sdch_filter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/filter/mock_filter_context.h" 5 #include "net/filter/mock_filter_context.h"
6 6
7 #include "net/url_request/url_request_context.h" 7 #include "net/url_request/url_request_context.h"
8 8
9 namespace net { 9 namespace net {
10 10
(...skipping 30 matching lines...) Expand all
41 return request_time_; 41 return request_time_;
42 } 42 }
43 43
44 bool MockFilterContext::IsCachedContent() const { return is_cached_content_; } 44 bool MockFilterContext::IsCachedContent() const { return is_cached_content_; }
45 45
46 SdchManager::DictionarySet* 46 SdchManager::DictionarySet*
47 MockFilterContext::SdchDictionariesAdvertised() const { 47 MockFilterContext::SdchDictionariesAdvertised() const {
48 return dictionaries_handle_.get(); 48 return dictionaries_handle_.get();
49 } 49 }
50 50
51 int64 MockFilterContext::GetByteReadCount() const { return 0; } 51 int64_t MockFilterContext::GetByteReadCount() const {
52 return 0;
53 }
52 54
53 int MockFilterContext::GetResponseCode() const { return response_code_; } 55 int MockFilterContext::GetResponseCode() const { return response_code_; }
54 56
55 const URLRequestContext* MockFilterContext::GetURLRequestContext() const { 57 const URLRequestContext* MockFilterContext::GetURLRequestContext() const {
56 return context_.get(); 58 return context_.get();
57 } 59 }
58 60
59 const BoundNetLog& MockFilterContext::GetNetLog() const { 61 const BoundNetLog& MockFilterContext::GetNetLog() const {
60 return net_log_; 62 return net_log_;
61 } 63 }
62 64
63 } // namespace net 65 } // namespace net
OLDNEW
« no previous file with comments | « net/filter/mock_filter_context.h ('k') | net/filter/sdch_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698