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

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

Issue 2637403002: Fix header guards in //chrome (Closed)
Patch Set: Created 3 years, 11 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_UTIL_WIN_H _ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_UTIL_WIN_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_UTIL_WIN_H _ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_UTIL_WIN_H_
7 7
8 #include "ui/gfx/native_widget_types.h" 8 #include "ui/gfx/native_widget_types.h"
9 9
10 namespace password_manager_util_win { 10 namespace password_manager_util_win {
11 11
12 // Attempts to (re-)authenticate the user of the OS account. Returns true if 12 // Attempts to (re-)authenticate the user of the OS account. Returns true if
13 // the user was successfully authenticated, or if authentication was not 13 // the user was successfully authenticated, or if authentication was not
14 // possible. 14 // possible.
15 bool AuthenticateUser(gfx::NativeWindow window); 15 bool AuthenticateUser(gfx::NativeWindow window);
16 16
17 // Query the system to determine whether the current logged on user has a 17 // Query the system to determine whether the current logged on user has a
18 // password set on their OS account, and log the result with UMA. It should be 18 // password set on their OS account, and log the result with UMA. It should be
19 // called on UI thread. The query is executed with a time delay to avoid calling 19 // called on UI thread. The query is executed with a time delay to avoid calling
20 // a few Windows APIs on startup. 20 // a few Windows APIs on startup.
21 void DelayReportOsPassword(); 21 void DelayReportOsPassword();
22 22
23 } // namespace password_manager_util_win 23 } // namespace password_manager_util_win
24 24
25 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_UTIL_WI N_H_ 25 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_UTIL_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698