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

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

Issue 174803002: Move root_window.* to window_event_dispatcher.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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 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 <wincred.h> 7 #include <wincred.h>
8 #include <LM.h> 8 #include <LM.h>
9 9
10 // SECURITY_WIN32 must be defined in order to get 10 // SECURITY_WIN32 must be defined in order to get
(...skipping 11 matching lines...) Expand all
22 #include "chrome/browser/browser_process.h" 22 #include "chrome/browser/browser_process.h"
23 #include "chrome/browser/password_manager/password_manager.h" 23 #include "chrome/browser/password_manager/password_manager.h"
24 #include "chrome/common/pref_names.h" 24 #include "chrome/common/pref_names.h"
25 #include "content/public/browser/render_view_host.h" 25 #include "content/public/browser/render_view_host.h"
26 #include "content/public/browser/render_widget_host_view.h" 26 #include "content/public/browser/render_widget_host_view.h"
27 #include "grit/chromium_strings.h" 27 #include "grit/chromium_strings.h"
28 #include "grit/generated_resources.h" 28 #include "grit/generated_resources.h"
29 #include "ui/base/l10n/l10n_util.h" 29 #include "ui/base/l10n/l10n_util.h"
30 30
31 #if defined(USE_AURA) 31 #if defined(USE_AURA)
32 #include "ui/aura/root_window.h"
33 #include "ui/aura/window.h" 32 #include "ui/aura/window.h"
33 #include "ui/aura/window_event_dispatcher.h"
34 #endif 34 #endif
35 35
36 // static 36 // static
37 void PasswordManager::RegisterLocalPrefs(PrefRegistrySimple* registry) { 37 void PasswordManager::RegisterLocalPrefs(PrefRegistrySimple* registry) {
38 registry->RegisterInt64Pref(prefs::kOsPasswordLastChanged, 0); 38 registry->RegisterInt64Pref(prefs::kOsPasswordLastChanged, 0);
39 registry->RegisterBooleanPref(prefs::kOsPasswordBlank, false); 39 registry->RegisterBooleanPref(prefs::kOsPasswordBlank, false);
40 } 40 }
41 41
42 namespace password_manager_util { 42 namespace password_manager_util {
43 43
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 } 235 }
236 } 236 }
237 SecureZeroMemory(password, sizeof(password)); 237 SecureZeroMemory(password, sizeof(password));
238 } 238 }
239 } while (credErr == NO_ERROR && 239 } while (credErr == NO_ERROR &&
240 (retval == false && tries < kMaxPasswordRetries)); 240 (retval == false && tries < kMaxPasswordRetries));
241 return retval; 241 return retval;
242 } 242 }
243 243
244 } // namespace password_manager_util 244 } // namespace password_manager_util
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698