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

Unified Diff: content/browser/browser_main_loop.h

Issue 1319093002: Revert of [Startup Tracing] Add --trace-config-file flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 | « content/app/content_main_runner.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_main_loop.h
diff --git a/content/browser/browser_main_loop.h b/content/browser/browser_main_loop.h
index 822589e702db6f1c28ff515eb65a7dfa612f8051..5f87e69191bf4af7ca50dc799482dc8aa00ebacc 100644
--- a/content/browser/browser_main_loop.h
+++ b/content/browser/browser_main_loop.h
@@ -116,9 +116,7 @@
media::midi::MidiManager* midi_manager() const { return midi_manager_.get(); }
base::Thread* indexed_db_thread() const { return indexed_db_thread_.get(); }
- bool is_tracing_startup_for_duration() const {
- return is_tracing_startup_for_duration_;
- }
+ bool is_tracing_startup() const { return is_tracing_startup_; }
const base::FilePath& startup_trace_file() const {
return startup_trace_file_;
@@ -154,7 +152,7 @@
base::FilePath GetStartupTraceFileName(
const base::CommandLine& command_line) const;
- void InitStartupTracingForDuration(const base::CommandLine& command_line);
+ void InitStartupTracing(const base::CommandLine& command_line);
void EndStartupTracing();
bool UsingInProcessGpu() const;
@@ -168,7 +166,7 @@
// MainMessageLoopStart()
// InitializeMainThread()
// PostMainMessageLoopStart()
- // InitStartupTracingForDuration()
+ // InitStartupTracing()
// CreateStartupTasks()
// PreCreateThreads()
// CreateThreads()
@@ -179,7 +177,7 @@
const base::CommandLine& parsed_command_line_;
int result_code_;
bool created_threads_; // True if the non-UI threads were created.
- bool is_tracing_startup_for_duration_;
+ bool is_tracing_startup_;
// Members initialized in |MainMessageLoopStart()| ---------------------------
scoped_ptr<base::MessageLoop> main_message_loop_;
@@ -208,7 +206,7 @@
scoped_ptr<MemoryObserver> memory_observer_;
scoped_ptr<base::trace_event::TraceMemoryController> trace_memory_controller_;
- // Members initialized in |InitStartupTracingForDuration()| ------------------
+ // Members initialized in |InitStartupTracing()| -----------------------------
base::FilePath startup_trace_file_;
// This timer initiates trace file saving.
« no previous file with comments | « content/app/content_main_runner.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698