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

Side by Side Diff: chrome/browser/extensions/settings/settings_leveldb_storage.h

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_EXTENSIONS_SETTINGS_SETTINGS_LEVELDB_STORAGE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_LEVELDB_STORAGE_H_
6 #define CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_LEVELDB_STORAGE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_LEVELDB_STORAGE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/file_path.h" 12 #include "base/file_path.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/task.h"
16 #include "chrome/browser/extensions/settings/settings_storage.h" 15 #include "chrome/browser/extensions/settings/settings_storage.h"
17 #include "chrome/browser/extensions/settings/settings_storage_factory.h" 16 #include "chrome/browser/extensions/settings/settings_storage_factory.h"
18 #include "third_party/leveldatabase/src/include/leveldb/db.h" 17 #include "third_party/leveldatabase/src/include/leveldb/db.h"
19 18
20 namespace extensions { 19 namespace extensions {
21 20
22 // Extension settings storage object, backed by a leveldb database. 21 // Extension settings storage object, backed by a leveldb database.
23 // 22 //
24 // No caching is done; that should be handled by wrapping with an 23 // No caching is done; that should be handled by wrapping with an
25 // SettingsStorageCache. 24 // SettingsStorageCache.
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 76
78 // leveldb backend. 77 // leveldb backend.
79 scoped_ptr<leveldb::DB> db_; 78 scoped_ptr<leveldb::DB> db_;
80 79
81 DISALLOW_COPY_AND_ASSIGN(SettingsLeveldbStorage); 80 DISALLOW_COPY_AND_ASSIGN(SettingsLeveldbStorage);
82 }; 81 };
83 82
84 } // namespace extensions 83 } // namespace extensions
85 84
86 #endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_LEVELDB_STORAGE_H_ 85 #endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_LEVELDB_STORAGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698