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

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

Issue 469993006: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
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>
Nico 2014/08/15 04:14:11 I hope this is cool (else we need to fix the scrip
Lei Zhang 2014/08/15 04:23:52 ascii L comes before w.
Nico 2014/08/15 04:35:13 Oh sure, the sorting is right. I mean windows head
7 #include <wincred.h> 8 #include <wincred.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
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 "chrome/browser/password_manager/password_manager_util.h"
17 17
18 #include "base/prefs/pref_registry_simple.h" 18 #include "base/prefs/pref_registry_simple.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/time/time.h" 21 #include "base/time/time.h"
22 #include "base/win/windows_version.h" 22 #include "base/win/windows_version.h"
23 #include "chrome/browser/browser_process.h" 23 #include "chrome/browser/browser_process.h"
24 #include "chrome/grit/chromium_strings.h"
24 #include "components/password_manager/core/browser/password_manager.h" 25 #include "components/password_manager/core/browser/password_manager.h"
25 #include "components/password_manager/core/common/password_manager_pref_names.h" 26 #include "components/password_manager/core/common/password_manager_pref_names.h"
26 #include "content/public/browser/render_view_host.h" 27 #include "content/public/browser/render_view_host.h"
27 #include "content/public/browser/render_widget_host_view.h" 28 #include "content/public/browser/render_widget_host_view.h"
28 #include "grit/chromium_strings.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/window.h" 32 #include "ui/aura/window.h"
33 #include "ui/aura/window_tree_host.h" 33 #include "ui/aura/window_tree_host.h"
34 #endif 34 #endif
35 35
36 // static 36 // static
37 void password_manager::PasswordManager::RegisterLocalPrefs( 37 void password_manager::PasswordManager::RegisterLocalPrefs(
38 PrefRegistrySimple* registry) { 38 PrefRegistrySimple* registry) {
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 } 245 }
246 } 246 }
247 SecureZeroMemory(password, sizeof(password)); 247 SecureZeroMemory(password, sizeof(password));
248 } 248 }
249 } while (credErr == NO_ERROR && 249 } while (credErr == NO_ERROR &&
250 (retval == false && tries < kMaxPasswordRetries)); 250 (retval == false && tries < kMaxPasswordRetries));
251 return retval; 251 return retval;
252 } 252 }
253 253
254 } // namespace password_manager_util 254 } // namespace password_manager_util
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698