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

Side by Side Diff: chrome/browser/password_manager/password_store_default.cc

Issue 7342047: Cleanup base/stl_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unneeded include + rebase Created 9 years, 5 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/password_manager/password_store_default.h" 5 #include "chrome/browser/password_manager/password_store_default.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/stl_util-inl.h" 10 #include "base/stl_util.h"
11 #include "chrome/browser/password_manager/password_store_change.h" 11 #include "chrome/browser/password_manager/password_store_change.h"
12 #include "chrome/browser/prefs/pref_service.h" 12 #include "chrome/browser/prefs/pref_service.h"
13 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/browser/webdata/web_data_service.h" 14 #include "chrome/browser/webdata/web_data_service.h"
15 #include "chrome/common/chrome_constants.h" 15 #include "chrome/common/chrome_constants.h"
16 #include "chrome/common/chrome_notification_types.h" 16 #include "chrome/common/chrome_notification_types.h"
17 #include "chrome/common/pref_names.h" 17 #include "chrome/common/pref_names.h"
18 #include "content/browser/browser_thread.h" 18 #include "content/browser/browser_thread.h"
19 #include "content/common/notification_service.h" 19 #include "content/common/notification_service.h"
20 20
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 } 210 }
211 211
212 void PasswordStoreDefault::MigrateIfNecessary() { 212 void PasswordStoreDefault::MigrateIfNecessary() {
213 PrefService* prefs = profile_->GetPrefs(); 213 PrefService* prefs = profile_->GetPrefs();
214 if (prefs->FindPreference(prefs::kLoginDatabaseMigrated)) 214 if (prefs->FindPreference(prefs::kLoginDatabaseMigrated))
215 return; 215 return;
216 DCHECK(!migrate_helper_.get()); 216 DCHECK(!migrate_helper_.get());
217 migrate_helper_.reset(new MigrateHelper(profile_, web_data_service_, this)); 217 migrate_helper_.reset(new MigrateHelper(profile_, web_data_service_, this));
218 migrate_helper_->Init(); 218 migrate_helper_->Init();
219 } 219 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698