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

Side by Side Diff: content/browser/indexed_db/indexed_db_thread.h

Issue 17518004: Move IndexedDB from WEBKIT_DEPRECATED to dedicated thread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing files Created 7 years, 6 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
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_THREAD_H_
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_THREAD_H_
7
8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "base/threading/thread.h"
11 #include "content/browser/browser_thread_impl.h"
12 #include "content/common/content_export.h"
13
14 namespace content {
15
16 class CONTENT_EXPORT IndexedDBThread {
jam 2013/06/21 16:00:50 why do we need this wrapper class?
jsbell 2013/06/21 16:34:16 At this point I don't - more logic lived here at o
17 public:
18 // Called from the UI thread.
19 IndexedDBThread();
20 ~IndexedDBThread();
21
22 base::Thread* thread() { return thread_.get(); }
23
24 private:
25 scoped_ptr<base::Thread> thread_;
26
27 DISALLOW_COPY_AND_ASSIGN(IndexedDBThread);
28 };
29
30 } // namespace content
31
32 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698