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

Side by Side Diff: chrome/browser/chromeos/gdata/gdata_db_factory.cc

Issue 10168025: GDataDB support with leveldb. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: final nits Created 8 years, 8 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/browser/chromeos/gdata/gdata_db_factory.h"
6
7 #include "base/file_path.h"
8 #include "base/logging.h"
9 #include "chrome/browser/chromeos/gdata/gdata_leveldb.h"
10
11 namespace gdata {
12 namespace db_factory {
13
14 scoped_ptr<GDataDB> CreateGDataDB(const FilePath& db_path) {
15 DVLOG(1) << "CreateGDataDB " << db_path.value();
16 GDataLevelDB* level_db = new GDataLevelDB();
17 level_db->Init(db_path);
18 return scoped_ptr<GDataDB>(level_db);
19 }
20
21 } // namespace db_factory
22 } // namespace gdata
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698