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

Unified Diff: net/log/net_log_capture_mode.h

Issue 1122483004: Remove NetLog::GetCaptureMode() and NetLogCaptureMode::None() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mmenke_refactor
Patch Set: Created 5 years, 7 months 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 side-by-side diff with in-line comments
Download patch
Index: net/log/net_log_capture_mode.h
diff --git a/net/log/net_log_capture_mode.h b/net/log/net_log_capture_mode.h
index e4f26a30b2f34cc6e8cf4d1aee4fef0640e81c42..2347524e4a86c041c191d372a221ef01e6b73c77 100644
--- a/net/log/net_log_capture_mode.h
+++ b/net/log/net_log_capture_mode.h
@@ -48,11 +48,6 @@ class NET_EXPORT NetLogCaptureMode {
// include_socket_bytes() --> true
static NetLogCaptureMode IncludeSocketBytes();
- // Returns a capture mode that contains the maximal set of capabilities
- // between |mode1| and |mode2|.
- static NetLogCaptureMode Max(NetLogCaptureMode mode1,
- NetLogCaptureMode mode2);
-
// If enabled() is true, then _something_ is being captured.
bool enabled() const;
@@ -70,15 +65,8 @@ class NET_EXPORT NetLogCaptureMode {
int32_t ToInternalValueForTesting() const;
private:
- // NetLog relies on the internal value of NetLogCaptureMode being an integer,
- // so it can be read/written atomically across thread.
- friend class NetLog;
-
explicit NetLogCaptureMode(uint32_t value);
- static NetLogCaptureMode FromInternalValue(int32_t value);
- int32_t ToInternalValue() const;
-
int32_t value_;
};
« net/log/net_log.cc ('K') | « net/log/net_log.cc ('k') | net/log/net_log_capture_mode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698