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

Side by Side Diff: net/log/test_net_log.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/log/test_net_log.h ('k') | net/log/test_net_log_util.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/log/test_net_log.h" 5 #include "net/log/test_net_log.h"
6 6
7 #include "base/macros.h"
7 #include "base/synchronization/lock.h" 8 #include "base/synchronization/lock.h"
8 #include "base/values.h" 9 #include "base/values.h"
9 10
10 namespace net { 11 namespace net {
11 12
12 // TestNetLog::Observer is an implementation of NetLog::ThreadSafeObserver 13 // TestNetLog::Observer is an implementation of NetLog::ThreadSafeObserver
13 // that saves messages to a buffer. 14 // that saves messages to a buffer.
14 class TestNetLog::Observer : public NetLog::ThreadSafeObserver { 15 class TestNetLog::Observer : public NetLog::ThreadSafeObserver {
15 public: 16 public:
16 Observer() {} 17 Observer() {}
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 127
127 void BoundTestNetLog::Clear() { 128 void BoundTestNetLog::Clear() {
128 test_net_log_.Clear(); 129 test_net_log_.Clear();
129 } 130 }
130 131
131 void BoundTestNetLog::SetCaptureMode(NetLogCaptureMode capture_mode) { 132 void BoundTestNetLog::SetCaptureMode(NetLogCaptureMode capture_mode) {
132 test_net_log_.SetCaptureMode(capture_mode); 133 test_net_log_.SetCaptureMode(capture_mode);
133 } 134 }
134 135
135 } // namespace net 136 } // namespace net
OLDNEW
« no previous file with comments | « net/log/test_net_log.h ('k') | net/log/test_net_log_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698