OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // Chromium settings and storage represent user-selected preferences and | 5 // Chromium settings and storage represent user-selected preferences and |
6 // information and MUST not be extracted, overwritten or modified except | 6 // information and MUST not be extracted, overwritten or modified except |
7 // through Chromium defined APIs. | 7 // through Chromium defined APIs. |
8 | 8 |
9 #ifndef CHROME_BROWSER_WEBDATA_WEB_DATABASE_SERVICE_H_ | 9 #ifndef COMPONENTS_WEBDATA_COMMON_WEB_DATABASE_SERVICE_H_ |
10 #define CHROME_BROWSER_WEBDATA_WEB_DATABASE_SERVICE_H_ | 10 #define COMPONENTS_WEBDATA_COMMON_WEB_DATABASE_SERVICE_H_ |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/callback_forward.h" | 13 #include "base/callback_forward.h" |
14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
15 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
17 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
18 #include "chrome/browser/api/webdata/web_data_service_base.h" | 18 #include "components/webdata/common/web_data_service_base.h" |
19 #include "chrome/browser/webdata/web_database.h" | 19 #include "components/webdata/common/web_database.h" |
20 | 20 |
21 class WebDataServiceBackend; | 21 class WebDataServiceBackend; |
22 class WebDataRequestManager; | 22 class WebDataRequestManager; |
23 | 23 |
24 namespace content { | 24 namespace content { |
25 class BrowserContext; | 25 class BrowserContext; |
26 } | 26 } |
27 | 27 |
28 namespace tracked_objects { | 28 namespace tracked_objects { |
29 class Location; | 29 class Location; |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 | 96 |
97 virtual ~WebDatabaseService(); | 97 virtual ~WebDatabaseService(); |
98 | 98 |
99 base::FilePath path_; | 99 base::FilePath path_; |
100 | 100 |
101 // The primary owner is |WebDatabaseService| but is refcounted because | 101 // The primary owner is |WebDatabaseService| but is refcounted because |
102 // PostTask on DB thread may outlive us. | 102 // PostTask on DB thread may outlive us. |
103 scoped_refptr<WebDataServiceBackend> wds_backend_; | 103 scoped_refptr<WebDataServiceBackend> wds_backend_; |
104 }; | 104 }; |
105 | 105 |
106 #endif // CHROME_BROWSER_WEBDATA_WEB_DATABASE_SERVICE_H_ | 106 #endif // COMPONENTS_WEBDATA_COMMON_WEB_DATABASE_SERVICE_H_ |
OLD | NEW |