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

Unified Diff: app/resource_bundle_win.cc

Issue 3823002: Move windows version-related stuff out of base/win_util and into base/win/win... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: app/resource_bundle_win.cc
===================================================================
--- app/resource_bundle_win.cc (revision 62510)
+++ app/resource_bundle_win.cc (working copy)
@@ -17,14 +17,15 @@
#include "base/resource_util.h"
#include "base/stl_util-inl.h"
#include "base/string_piece.h"
-#include "base/win_util.h"
+#include "base/win/windows_version.h"
+
#include "gfx/font.h"
namespace {
// Returns the flags that should be passed to LoadLibraryEx.
DWORD GetDataDllLoadFlags() {
- if (win_util::GetWinVersion() >= win_util::WINVERSION_VISTA)
+ if (base::win::GetVersion() >= base::win::VERSION_VISTA)
return LOAD_LIBRARY_AS_DATAFILE_EXCLUSIVE | LOAD_LIBRARY_AS_IMAGE_RESOURCE;
return DONT_RESOLVE_DLL_REFERENCES;
« no previous file with comments | « app/l10n_util_win.cc ('k') | app/win_util.cc » ('j') | chrome/browser/google/google_update.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698