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

Side by Side Diff: base/win/win_util.h

Issue 581803002: Component updater must fallback on using HTTP on Windows XPSP2 and below (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Made Windows-specific name; changed the logic polarity. Created 6 years, 3 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
« no previous file with comments | « no previous file | base/win/win_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // ============================================================================= 5 // =============================================================================
6 // PLEASE READ 6 // PLEASE READ
7 // 7 //
8 // In general, you should not be adding stuff to this file. 8 // In general, you should not be adding stuff to this file.
9 // 9 //
10 // - If your thing is only used in one place, just put it in a reasonable 10 // - If your thing is only used in one place, just put it in a reasonable
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 // above. Returns true on success. 127 // above. Returns true on success.
128 BASE_EXPORT bool DismissVirtualKeyboard(); 128 BASE_EXPORT bool DismissVirtualKeyboard();
129 129
130 // Returns true if the machine is enrolled to a domain. 130 // Returns true if the machine is enrolled to a domain.
131 BASE_EXPORT bool IsEnrolledToDomain(); 131 BASE_EXPORT bool IsEnrolledToDomain();
132 132
133 // Used by tests to mock any wanted state. Call with |state| set to true to 133 // Used by tests to mock any wanted state. Call with |state| set to true to
134 // simulate being in a domain and false otherwise. 134 // simulate being in a domain and false otherwise.
135 BASE_EXPORT void SetDomainStateForTesting(bool state); 135 BASE_EXPORT void SetDomainStateForTesting(bool state);
136 136
137 // Returns true is the current operating system has support for SHA-256
felt 2014/09/18 21:42:44 nit: "Returns true if"
Sorin Jianu 2014/09/18 21:55:19 Done.
138 // certificates. As its name indicates, this function provides a best-effort
139 // answer, which is solely based on comparing version numbers. The function
140 // may be re-implemented in the future to return a reliable value, based on
141 // run-time detection of this capability.
142 BASE_EXPORT bool MaybeHasSHA256Support();
143
137 } // namespace win 144 } // namespace win
138 } // namespace base 145 } // namespace base
139 146
140 #endif // BASE_WIN_WIN_UTIL_H_ 147 #endif // BASE_WIN_WIN_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | base/win/win_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698