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

Side by Side Diff: chrome/browser/password_manager/native_backend_kwallet_x.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/native_backend_kwallet_x.h" 5 #include "chrome/browser/password_manager/native_backend_kwallet_x.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/pickle.h" 10 #include "base/pickle.h"
11 #include "base/stl_util-inl.h" 11 #include "base/stl_util.h"
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "content/browser/browser_thread.h" 13 #include "content/browser/browser_thread.h"
14 #include "grit/chromium_strings.h" 14 #include "grit/chromium_strings.h"
15 #include "ui/base/l10n/l10n_util.h" 15 #include "ui/base/l10n/l10n_util.h"
16 16
17 using std::string; 17 using std::string;
18 using std::vector; 18 using std::vector;
19 using webkit_glue::PasswordForm; 19 using webkit_glue::PasswordForm;
20 20
21 // We could localize this string, but then changing your locale would cause 21 // We could localize this string, but then changing your locale would cause
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 // Each other profile must be able to migrate the shared data as well, 693 // Each other profile must be able to migrate the shared data as well,
694 // so we must leave it alone. After a few releases, we'll add code to 694 // so we must leave it alone. After a few releases, we'll add code to
695 // delete them, and eventually remove this migration code. 695 // delete them, and eventually remove this migration code.
696 // TODO(mdm): follow through with the plan above. 696 // TODO(mdm): follow through with the plan above.
697 PasswordStoreX::SetPasswordsUseLocalProfileId(prefs_); 697 PasswordStoreX::SetPasswordsUseLocalProfileId(prefs_);
698 } else { 698 } else {
699 // We failed to migrate for some reason. Use the old folder name. 699 // We failed to migrate for some reason. Use the old folder name.
700 folder_name_ = kKWalletFolder; 700 folder_name_ = kKWalletFolder;
701 } 701 }
702 } 702 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698