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

Unified Diff: content/browser/browser_thread_impl.cc

Issue 8437002: Move BrowserThread to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A few updates. Created 9 years, 2 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/browser/browser_message_filter.cc ('k') | content/browser/child_process_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_thread_impl.cc
diff --git a/content/browser/browser_thread_impl.cc b/content/browser/browser_thread_impl.cc
index fcccb0c1dfa68fedbfb89ad81dc14658995806d1..ef5be1b0c045ce544e8cb531eb77e63322b29d6a 100644
--- a/content/browser/browser_thread_impl.cc
+++ b/content/browser/browser_thread_impl.cc
@@ -12,7 +12,7 @@
namespace {
// Friendly names for the well-known threads.
-static const char* browser_thread_names[BrowserThread::ID_COUNT] = {
+static const char* browser_thread_names[content::BrowserThread::ID_COUNT] = {
"", // UI (name assembled in browser_main.cc).
"Chrome_DBThread", // DB
"Chrome_WebKitThread", // WEBKIT
@@ -130,10 +130,6 @@ bool BrowserThreadImpl::PostTaskHelper(
return !!message_loop;
}
-} // namespace content
-
-using content::BrowserThreadImpl;
-
// TODO(joi): Remove
DeprecatedBrowserThread::DeprecatedBrowserThread(BrowserThread::ID identifier)
: BrowserThread(identifier) {
@@ -387,3 +383,5 @@ BrowserThread::GetMessageLoopProxyForThread(
new BrowserThreadMessageLoopProxy(identifier));
return proxy;
}
+
+} // namespace content
« no previous file with comments | « content/browser/browser_message_filter.cc ('k') | content/browser/child_process_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698