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

Side by Side Diff: base/win/metro.cc

Issue 1550493002: Switch to standard integer types in base/win/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « base/win/message_window.cc ('k') | base/win/object_watcher.h » ('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 #include "base/win/metro.h" 5 #include "base/win/metro.h"
6 6
7 #include <stddef.h>
8
7 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
8 #include "base/win/windows_version.h" 10 #include "base/win/windows_version.h"
9 11
10 namespace base { 12 namespace base {
11 namespace win { 13 namespace win {
12 14
13 bool IsChromeMetroSupported() { 15 bool IsChromeMetroSupported() {
14 const Version win_version = GetVersion(); 16 const Version win_version = GetVersion();
15 return win_version >= VERSION_WIN8 && win_version < VERSION_WIN10; 17 return win_version >= VERSION_WIN8 && win_version < VERSION_WIN10;
16 } 18 }
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 reinterpret_cast<GetInitialSearchString>( 109 reinterpret_cast<GetInitialSearchString>(
108 ::GetProcAddress(metro, "GetInitialSearchString")); 110 ::GetProcAddress(metro, "GetInitialSearchString"));
109 DCHECK(initial_search_string); 111 DCHECK(initial_search_string);
110 *params = initial_search_string(); 112 *params = initial_search_string();
111 } 113 }
112 return launch_type; 114 return launch_type;
113 } 115 }
114 116
115 } // namespace win 117 } // namespace win
116 } // namespace base 118 } // namespace base
OLDNEW
« no previous file with comments | « base/win/message_window.cc ('k') | base/win/object_watcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698