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

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

Issue 1133613007: Move password_manager_util and password_bubble_experiment to components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@486739_componentise_experiment_utils_to_ios_sources
Patch Set: Created 5 years, 7 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // windows.h must be first otherwise Win8 SDK breaks. 5 // windows.h must be first otherwise Win8 SDK breaks.
6 #include <windows.h> 6 #include <windows.h>
7 #include <LM.h> 7 #include <LM.h>
8 #include <wincred.h> 8 #include <wincred.h>
9 9
10 // SECURITY_WIN32 must be defined in order to get 10 // SECURITY_WIN32 must be defined in order to get
11 // EXTENDED_NAME_FORMAT enumeration. 11 // EXTENDED_NAME_FORMAT enumeration.
12 #define SECURITY_WIN32 1 12 #define SECURITY_WIN32 1
13 #include <security.h> 13 #include <security.h>
14 #undef SECURITY_WIN32 14 #undef SECURITY_WIN32
15 15
16 #include "chrome/browser/password_manager/password_manager_util.h" 16 #include "components/password_manager/core/browser/password_manager_util.h"
17 17
18 #include "base/bind.h" 18 #include "base/bind.h"
19 #include "base/prefs/pref_service.h" 19 #include "base/prefs/pref_service.h"
20 #include "base/strings/utf_string_conversions.h" 20 #include "base/strings/utf_string_conversions.h"
21 #include "base/threading/worker_pool.h" 21 #include "base/threading/worker_pool.h"
22 #include "base/time/time.h" 22 #include "base/time/time.h"
23 #include "base/win/windows_version.h" 23 #include "base/win/windows_version.h"
24 #include "chrome/browser/browser_process.h" 24 #include "chrome/browser/browser_process.h"
25 #include "chrome/grit/chromium_strings.h" 25 #include "chrome/grit/chromium_strings.h"
26 #include "components/password_manager/core/browser/password_manager.h" 26 #include "components/password_manager/core/browser/password_manager.h"
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 } 291 }
292 } 292 }
293 SecureZeroMemory(password, sizeof(password)); 293 SecureZeroMemory(password, sizeof(password));
294 } 294 }
295 } while (credErr == NO_ERROR && 295 } while (credErr == NO_ERROR &&
296 (retval == false && tries < kMaxPasswordRetries)); 296 (retval == false && tries < kMaxPasswordRetries));
297 return retval; 297 return retval;
298 } 298 }
299 299
300 } // namespace password_manager_util 300 } // namespace password_manager_util
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698