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

Side by Side Diff: net/log/net_log_capture_mode.h

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/net_log.cc ('k') | net/log/net_log_unittest.cc » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef NET_LOG_NET_LOG_CAPTURE_MODE_H_ 5 #ifndef NET_LOG_NET_LOG_CAPTURE_MODE_H_
6 #define NET_LOG_NET_LOG_CAPTURE_MODE_H_ 6 #define NET_LOG_NET_LOG_CAPTURE_MODE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9
9 #include <string> 10 #include <string>
10 11
11 #include "net/base/net_export.h" 12 #include "net/base/net_export.h"
12 13
13 namespace net { 14 namespace net {
14 15
15 // NetLogCaptureMode specifies the granularity of events that should be emitted 16 // NetLogCaptureMode specifies the granularity of events that should be emitted
16 // to the log. It is a simple wrapper around an integer, so it should be passed 17 // to the log. It is a simple wrapper around an integer, so it should be passed
17 // to functions by value rather than by reference. 18 // to functions by value rather than by reference.
18 class NET_EXPORT NetLogCaptureMode { 19 class NET_EXPORT NetLogCaptureMode {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 55
55 private: 56 private:
56 explicit NetLogCaptureMode(uint32_t value); 57 explicit NetLogCaptureMode(uint32_t value);
57 58
58 int32_t value_; 59 int32_t value_;
59 }; 60 };
60 61
61 } // namespace net 62 } // namespace net
62 63
63 #endif // NET_LOG_NET_LOG_CAPTURE_MODE_H_ 64 #endif // NET_LOG_NET_LOG_CAPTURE_MODE_H_
OLDNEW
« no previous file with comments | « net/log/net_log.cc ('k') | net/log/net_log_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698