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

Side by Side Diff: trunk/src/chrome/browser/profiles/refcounted_profile_keyed_service.h

Issue 14985007: Revert 198844 "Move sequenced_task_runner to base/task" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_PROFILES_REFCOUNTED_PROFILE_KEYED_SERVICE_H_ 5 #ifndef CHROME_BROWSER_PROFILES_REFCOUNTED_PROFILE_KEYED_SERVICE_H_
6 #define CHROME_BROWSER_PROFILES_REFCOUNTED_PROFILE_KEYED_SERVICE_H_ 6 #define CHROME_BROWSER_PROFILES_REFCOUNTED_PROFILE_KEYED_SERVICE_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/task/sequenced_task_runner_helpers.h" 9 #include "base/sequenced_task_runner_helpers.h"
10 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
11 11
12 class RefcountedProfileKeyedService; 12 class RefcountedProfileKeyedService;
13 13
14 namespace impl { 14 namespace impl {
15 15
16 struct RefcountedProfileKeyedServiceTraits { 16 struct RefcountedProfileKeyedServiceTraits {
17 static void Destruct(const RefcountedProfileKeyedService* obj); 17 static void Destruct(const RefcountedProfileKeyedService* obj);
18 }; 18 };
19 19
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 private: 61 private:
62 friend struct impl::RefcountedProfileKeyedServiceTraits; 62 friend struct impl::RefcountedProfileKeyedServiceTraits;
63 friend class base::DeleteHelper<RefcountedProfileKeyedService>; 63 friend class base::DeleteHelper<RefcountedProfileKeyedService>;
64 64
65 // Do we have to delete this object on a specific thread? 65 // Do we have to delete this object on a specific thread?
66 bool requires_destruction_on_thread_; 66 bool requires_destruction_on_thread_;
67 content::BrowserThread::ID thread_id_; 67 content::BrowserThread::ID thread_id_;
68 }; 68 };
69 69
70 #endif // CHROME_BROWSER_PROFILES_REFCOUNTED_PROFILE_KEYED_SERVICE_H_ 70 #endif // CHROME_BROWSER_PROFILES_REFCOUNTED_PROFILE_KEYED_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698