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

Side by Side Diff: chrome/browser/autofill/personal_data_manager_factory.cc

Issue 12434004: Move remaining Autofill code to //components/autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix long lines Created 7 years, 9 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 #include "chrome/browser/autofill/personal_data_manager_factory.h" 5 #include "chrome/browser/autofill/personal_data_manager_factory.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "base/memory/singleton.h" 8 #include "base/memory/singleton.h"
9 #include "chrome/browser/autofill/personal_data_manager.h"
10 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/profiles/profile_dependency_manager.h" 10 #include "chrome/browser/profiles/profile_dependency_manager.h"
12 #include "chrome/browser/webdata/web_data_service_factory.h" 11 #include "chrome/browser/webdata/web_data_service_factory.h"
12 #include "components/autofill/browser/personal_data_manager.h"
13 13
14 namespace { 14 namespace {
15 15
16 class PersonalDataManagerServiceImpl : public PersonalDataManagerService { 16 class PersonalDataManagerServiceImpl : public PersonalDataManagerService {
17 public: 17 public:
18 PersonalDataManagerServiceImpl(Profile* profile); 18 PersonalDataManagerServiceImpl(Profile* profile);
19 virtual ~PersonalDataManagerServiceImpl(); 19 virtual ~PersonalDataManagerServiceImpl();
20 20
21 // PersonalDataManagerService: 21 // PersonalDataManagerService:
22 virtual void Shutdown() OVERRIDE; 22 virtual void Shutdown() OVERRIDE;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 PersonalDataManagerFactory::~PersonalDataManagerFactory() { 72 PersonalDataManagerFactory::~PersonalDataManagerFactory() {
73 } 73 }
74 74
75 ProfileKeyedService* PersonalDataManagerFactory::BuildServiceInstanceFor( 75 ProfileKeyedService* PersonalDataManagerFactory::BuildServiceInstanceFor(
76 Profile* profile) const { 76 Profile* profile) const {
77 PersonalDataManagerService* service = 77 PersonalDataManagerService* service =
78 new PersonalDataManagerServiceImpl(profile); 78 new PersonalDataManagerServiceImpl(profile);
79 return service; 79 return service;
80 } 80 }
OLDNEW
« no previous file with comments | « chrome/browser/autofill/personal_data_manager.cc ('k') | chrome/browser/autofill/personal_data_manager_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698