diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-03 03:28:20 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-03 03:28:20 +0000 |
commit | a9dfd3d2dac6bcca200e2930fa67ca8af4568f62 (patch) | |
tree | d8d5c01df670af3fc746a27f7f3c5417005a3a76 /content/browser/tracing/trace_subscriber_stdio.h | |
parent | 897f248b8c76aad540f4ea1bea4b5bbc42dbea0f (diff) | |
download | chromium_src-a9dfd3d2dac6bcca200e2930fa67ca8af4568f62.zip chromium_src-a9dfd3d2dac6bcca200e2930fa67ca8af4568f62.tar.gz chromium_src-a9dfd3d2dac6bcca200e2930fa67ca8af4568f62.tar.bz2 |
Revert 180055: Very likely caused http://crbug.com/173885
> Moving chrome://tracing to content.
>
> BUG=169170
> Review URL: https://codereview.chromium.org/12088099
TBR=jam@chromium.org
Review URL: https://codereview.chromium.org/12194007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180282 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/tracing/trace_subscriber_stdio.h')
-rw-r--r-- | content/browser/tracing/trace_subscriber_stdio.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/content/browser/tracing/trace_subscriber_stdio.h b/content/browser/tracing/trace_subscriber_stdio.h deleted file mode 100644 index 7fa37e5..0000000 --- a/content/browser/tracing/trace_subscriber_stdio.h +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef CONTENT_BROWSER_TRACING_TRACE_SUBSCRIBER_STDIO_H_ -#define CONTENT_BROWSER_TRACING_TRACE_SUBSCRIBER_STDIO_H_ - -#include <string> - -#include "base/compiler_specific.h" -#include "base/file_util.h" -#include "content/public/browser/trace_subscriber.h" -#include "content/common/content_export.h" - -namespace content { - -class TraceSubscriberStdioImpl; - -// Stdio implementation of TraceSubscriber. Use this to write traces to a file. -class CONTENT_EXPORT TraceSubscriberStdio - : NON_EXPORTED_BASE(public TraceSubscriber) { - public: - // Creates or overwrites the specified file. Check IsValid() for success. - explicit TraceSubscriberStdio(const FilePath& path); - virtual ~TraceSubscriberStdio(); - - // Implementation of TraceSubscriber - virtual void OnEndTracingComplete() OVERRIDE; - virtual void OnTraceDataCollected( - const scoped_refptr<base::RefCountedString>& data_ptr) OVERRIDE; - - private: - scoped_refptr<TraceSubscriberStdioImpl> impl_; - DISALLOW_COPY_AND_ASSIGN(TraceSubscriberStdio); -}; - -} // namespace content - -#endif // CONTENT_BROWSER_TRACING_TRACE_SUBSCRIBER_STDIO_H_ |