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

Side by Side Diff: chrome/browser/webdata/web_data_service_factory.h

Issue 13392014: Move c/b/webdata/ code to components/webdata/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pure merge Created 7 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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_WEBDATA_WEB_DATA_SERVICE_FACTORY_H__ 5 #ifndef CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_FACTORY_H__
6 #define CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_FACTORY_H__ 6 #define CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_FACTORY_H__
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/singleton.h" 10 #include "base/memory/singleton.h"
11 #include "chrome/browser/profiles/profile.h" 11 #include "chrome/browser/profiles/profile.h"
12 #include "chrome/browser/profiles/profile_keyed_service.h" 12 #include "chrome/browser/profiles/profile_keyed_service.h"
13 #include "chrome/browser/profiles/profile_keyed_service_factory.h" 13 #include "chrome/browser/profiles/profile_keyed_service_factory.h"
14 #include "chrome/browser/webdata/web_database_service.h" 14 #include "components/webdata/common/web_database_service.h"
15 15
16 class AutofillWebDataService; 16 class AutofillWebDataService;
17 class WebDataService; 17 class WebDataService;
18 18
19 // A wrapper of WebDataService so that we can use it as a profile keyed service. 19 // A wrapper of WebDataService so that we can use it as a profile keyed service.
20 class WebDataServiceWrapper : public ProfileKeyedService { 20 class WebDataServiceWrapper : public ProfileKeyedService {
21 public: 21 public:
22 explicit WebDataServiceWrapper(Profile* profile); 22 explicit WebDataServiceWrapper(Profile* profile);
23 23
24 // For testing. 24 // For testing.
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // |ProfileKeyedBaseFactory| methods: 66 // |ProfileKeyedBaseFactory| methods:
67 virtual bool ServiceRedirectedInIncognito() const OVERRIDE; 67 virtual bool ServiceRedirectedInIncognito() const OVERRIDE;
68 virtual ProfileKeyedService* BuildServiceInstanceFor( 68 virtual ProfileKeyedService* BuildServiceInstanceFor(
69 Profile* profile) const OVERRIDE; 69 Profile* profile) const OVERRIDE;
70 virtual bool ServiceIsNULLWhileTesting() const OVERRIDE; 70 virtual bool ServiceIsNULLWhileTesting() const OVERRIDE;
71 71
72 DISALLOW_COPY_AND_ASSIGN(WebDataServiceFactory); 72 DISALLOW_COPY_AND_ASSIGN(WebDataServiceFactory);
73 }; 73 };
74 74
75 #endif // CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_FACTORY_H__ 75 #endif // CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_FACTORY_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698