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

Unified Diff: content/common/child_process.h

Issue 15403002: Remving global statics from the headers, so we can split-link. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: adding export Created 7 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
« no previous file with comments | « base/metrics/stats_table.cc ('k') | content/common/child_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/child_process.h
diff --git a/content/common/child_process.h b/content/common/child_process.h
index dc7df535c15b445c1a8126faddfa327533cbe1c6..7fd03b81ee3fccf57bfae1c9c795b2b4203802ed 100644
--- a/content/common/child_process.h
+++ b/content/common/child_process.h
@@ -54,7 +54,7 @@ class CONTENT_EXPORT ChildProcess {
void ReleaseProcess();
// Getter for the one ChildProcess object for this process.
- static ChildProcess* current() { return child_process_; }
+ static ChildProcess* current();
static void WaitForDebugger(const std::string& label);
private:
@@ -71,9 +71,6 @@ class CONTENT_EXPORT ChildProcess {
// io_thread_.
scoped_ptr<ChildThread> main_thread_;
- // The singleton instance for this process.
- static ChildProcess* child_process_;
-
DISALLOW_COPY_AND_ASSIGN(ChildProcess);
};
« no previous file with comments | « base/metrics/stats_table.cc ('k') | content/common/child_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698