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

Side by Side Diff: chrome/browser/autofill/personal_data_manager.h

Issue 10866013: Convert the browsing_data pyauto tests to chrome tests. Remove the ClearBrowsingData automation cod… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix hang on mac Created 8 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/automation/automation_provider_observers.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_AUTOFILL_PERSONAL_DATA_MANAGER_H_ 5 #ifndef CHROME_BROWSER_AUTOFILL_PERSONAL_DATA_MANAGER_H_
6 #define CHROME_BROWSER_AUTOFILL_PERSONAL_DATA_MANAGER_H_ 6 #define CHROME_BROWSER_AUTOFILL_PERSONAL_DATA_MANAGER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 // PersonalDataManager. 147 // PersonalDataManager.
148 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, FirstMiddleLast); 148 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, FirstMiddleLast);
149 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, AutofillIsEnabledAtStartup); 149 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, AutofillIsEnabledAtStartup);
150 FRIEND_TEST_ALL_PREFIXES(PersonalDataManagerTest, 150 FRIEND_TEST_ALL_PREFIXES(PersonalDataManagerTest,
151 AggregateExistingAuxiliaryProfile); 151 AggregateExistingAuxiliaryProfile);
152 friend class AutofillTest; 152 friend class AutofillTest;
153 friend class PersonalDataManagerFactory; 153 friend class PersonalDataManagerFactory;
154 friend class PersonalDataManagerTest; 154 friend class PersonalDataManagerTest;
155 friend class scoped_ptr<PersonalDataManager>; 155 friend class scoped_ptr<PersonalDataManager>;
156 friend class ProfileSyncServiceAutofillTest; 156 friend class ProfileSyncServiceAutofillTest;
157 friend class RemoveAutofillTester;
157 friend class TestingAutomationProvider; 158 friend class TestingAutomationProvider;
158 friend void autofill_helper::SetProfiles(int, std::vector<AutofillProfile>*); 159 friend void autofill_helper::SetProfiles(int, std::vector<AutofillProfile>*);
159 friend void autofill_helper::SetCreditCards(int, std::vector<CreditCard>*); 160 friend void autofill_helper::SetCreditCards(int, std::vector<CreditCard>*);
160 161
161 PersonalDataManager(); 162 PersonalDataManager();
162 virtual ~PersonalDataManager(); 163 virtual ~PersonalDataManager();
163 164
164 // Sets |web_profiles_| to the contents of |profiles| and updates the web 165 // Sets |web_profiles_| to the contents of |profiles| and updates the web
165 // database by adding, updating and removing profiles. 166 // database by adding, updating and removing profiles.
166 // The relationship between this and Refresh is subtle. 167 // The relationship between this and Refresh is subtle.
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 // Whether we have already logged the number of profiles this session. 257 // Whether we have already logged the number of profiles this session.
257 mutable bool has_logged_profile_count_; 258 mutable bool has_logged_profile_count_;
258 259
259 // Manages registration lifetime for NotificationObserver implementation. 260 // Manages registration lifetime for NotificationObserver implementation.
260 content::NotificationRegistrar notification_registrar_; 261 content::NotificationRegistrar notification_registrar_;
261 262
262 DISALLOW_COPY_AND_ASSIGN(PersonalDataManager); 263 DISALLOW_COPY_AND_ASSIGN(PersonalDataManager);
263 }; 264 };
264 265
265 #endif // CHROME_BROWSER_AUTOFILL_PERSONAL_DATA_MANAGER_H_ 266 #endif // CHROME_BROWSER_AUTOFILL_PERSONAL_DATA_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/automation/automation_provider_observers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698