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

Unified Diff: chrome/browser/prefs/pref_member.h

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 | « chrome/browser/policy/user_policy_token_cache.cc ('k') | chrome/browser/prefs/pref_member.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/pref_member.h
diff --git a/chrome/browser/prefs/pref_member.h b/chrome/browser/prefs/pref_member.h
index 5775db32c540c8459d6d71abd9a663964183cc99..bb3434f89afef5107837c848f6d8061d61ecd256 100644
--- a/chrome/browser/prefs/pref_member.h
+++ b/chrome/browser/prefs/pref_member.h
@@ -49,7 +49,7 @@ class PrefMemberBase : public content::NotificationObserver {
// Takes ownership of |value|.
virtual void UpdateValue(base::Value* value, bool is_managed) const;
- void MoveToThread(BrowserThread::ID thread_id);
+ void MoveToThread(content::BrowserThread::ID thread_id);
// See PrefMember<> for description.
bool IsManaged() const {
@@ -71,7 +71,7 @@ class PrefMemberBase : public content::NotificationObserver {
bool IsOnCorrectThread() const;
- BrowserThread::ID thread_id_;
+ content::BrowserThread::ID thread_id_;
mutable bool is_managed_;
DISALLOW_COPY_AND_ASSIGN(Internal);
@@ -89,7 +89,7 @@ class PrefMemberBase : public content::NotificationObserver {
// See PrefMember<> for description.
void Destroy();
- void MoveToThread(BrowserThread::ID thread_id);
+ void MoveToThread(content::BrowserThread::ID thread_id);
// content::NotificationObserver
virtual void Observe(int type,
@@ -155,7 +155,7 @@ class PrefMember : public subtle::PrefMemberBase {
// via PostTask.
// This method should only be used from the thread the PrefMember is currently
// on, which is the UI thread by default.
- void MoveToThread(BrowserThread::ID thread_id) {
+ void MoveToThread(content::BrowserThread::ID thread_id) {
subtle::PrefMemberBase::MoveToThread(thread_id);
}
« no previous file with comments | « chrome/browser/policy/user_policy_token_cache.cc ('k') | chrome/browser/prefs/pref_member.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698