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

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

Issue 17392006: In components/autofill, move browser/ to core/browser/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to fix conflicts Created 7 years, 6 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/browser_process.h" 9 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/profiles/incognito_helpers.h" 10 #include "chrome/browser/profiles/incognito_helpers.h"
11 #include "chrome/browser/profiles/profile.h" 11 #include "chrome/browser/profiles/profile.h"
12 #include "chrome/browser/webdata/web_data_service_factory.h" 12 #include "chrome/browser/webdata/web_data_service_factory.h"
13 #include "components/autofill/browser/personal_data_manager.h" 13 #include "components/autofill/core/browser/personal_data_manager.h"
14 #include "components/browser_context_keyed_service/browser_context_dependency_ma nager.h" 14 #include "components/browser_context_keyed_service/browser_context_dependency_ma nager.h"
15 15
16 namespace autofill { 16 namespace autofill {
17 namespace { 17 namespace {
18 18
19 class PersonalDataManagerServiceImpl : public PersonalDataManagerService { 19 class PersonalDataManagerServiceImpl : public PersonalDataManagerService {
20 public: 20 public:
21 explicit PersonalDataManagerServiceImpl(Profile* profile); 21 explicit PersonalDataManagerServiceImpl(Profile* profile);
22 virtual ~PersonalDataManagerServiceImpl(); 22 virtual ~PersonalDataManagerServiceImpl();
23 23
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 new PersonalDataManagerServiceImpl(static_cast<Profile*>(profile)); 83 new PersonalDataManagerServiceImpl(static_cast<Profile*>(profile));
84 return service; 84 return service;
85 } 85 }
86 86
87 content::BrowserContext* PersonalDataManagerFactory::GetBrowserContextToUse( 87 content::BrowserContext* PersonalDataManagerFactory::GetBrowserContextToUse(
88 content::BrowserContext* context) const { 88 content::BrowserContext* context) const {
89 return chrome::GetBrowserContextOwnInstanceInIncognito(context); 89 return chrome::GetBrowserContextOwnInstanceInIncognito(context);
90 } 90 }
91 91
92 } // namespace autofill 92 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/browser/autofill/form_structure_browsertest.cc ('k') | chrome/browser/automation/automation_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698