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

Unified Diff: content/browser/profiler_controller_impl.h

Issue 9348028: Revert 120789 - Propogate status setting for profiler to track parents (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 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
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | content/browser/profiler_controller_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/profiler_controller_impl.h
===================================================================
--- content/browser/profiler_controller_impl.h (revision 120816)
+++ content/browser/profiler_controller_impl.h (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -6,7 +6,6 @@
#define CONTENT_BROWSER_PROFILER_CONTROLLER_IMPL_H_
#include "base/memory/singleton.h"
-#include "base/tracked_objects.h"
#include "content/common/content_export.h"
#include "content/public/browser/profiler_controller.h"
@@ -35,8 +34,7 @@
virtual void Register(ProfilerSubscriber* subscriber) OVERRIDE;
virtual void Unregister(ProfilerSubscriber* subscriber) OVERRIDE;
virtual void GetProfilerData(int sequence_number) OVERRIDE;
- virtual void SetProfilerStatus(
- tracked_objects::ThreadData::Status status) OVERRIDE;
+ virtual void SetProfilerStatus(bool enable) OVERRIDE;
private:
friend struct DefaultSingletonTraits<ProfilerControllerImpl>;
@@ -45,8 +43,7 @@
void GetProfilerDataFromChildProcesses(int sequence_number);
// Contact child processes and set profiler status to |enable|.
- void SetProfilerStatusInChildProcesses(
- tracked_objects::ThreadData::Status status);
+ void SetProfilerStatusInChildProcesses(bool enable);
ProfilerSubscriber* subscriber_;
Property changes on: content/browser/profiler_controller_impl.h
___________________________________________________________________
Added: svn:mergeinfo
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | content/browser/profiler_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698