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

Unified Diff: chrome/browser/net/chrome_net_log_helper.h

Issue 1347043002: Move ChromeNetLog to //components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DetachFromThread Created 5 years, 3 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: chrome/browser/net/chrome_net_log_helper.h
diff --git a/base/profiler/native_stack_sampler.cc b/chrome/browser/net/chrome_net_log_helper.h
similarity index 35%
copy from base/profiler/native_stack_sampler.cc
copy to chrome/browser/net/chrome_net_log_helper.h
index 8b4731b6cce2da861ce9ee25926de636e10efb86..469681d01eeb1f22ab02d46a094ecd84f605f901 100644
--- a/base/profiler/native_stack_sampler.cc
+++ b/chrome/browser/net/chrome_net_log_helper.h
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "base/profiler/native_stack_sampler.h"
+#ifndef CHROME_BROWSER_NET_CHROME_NET_LOG_HELPER_H_
+#define CHROME_BROWSER_NET_CHROME_NET_LOG_HELPER_H_
-namespace base {
+#include "net/log/net_log_capture_mode.h"
-NativeStackSampler::NativeStackSampler() {}
+// Returns the capture mode to be used with the net log.
+net::NetLogCaptureMode GetNetCaptureMode();
-NativeStackSampler::~NativeStackSampler() {}
-
-} // namespace base
+#endif // CHROME_BROWSER_NET_CHROME_NET_LOG_HELPER_H_

Powered by Google App Engine
This is Rietveld 408576698