OLD | NEW |
| (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 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_DB_FACTORY_H_ | |
6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_DB_FACTORY_H_ | |
7 #pragma once | |
8 | |
9 #include "base/memory/scoped_ptr.h" | |
10 | |
11 class FilePath; | |
12 | |
13 namespace gdata { | |
14 | |
15 class GDataDB; | |
16 | |
17 namespace db_factory { | |
18 | |
19 // Factory method to create an instance of GDataDB. | |
20 scoped_ptr<GDataDB> CreateGDataDB(const FilePath& db_path); | |
21 | |
22 } // namespace db_factory | |
23 } // namespace gdata | |
24 | |
25 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_DB_FACTORY_H_ | |
OLD | NEW |