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

Side by Side Diff: cloud_print/virtual_driver/win/virtual_driver_helpers.cc

Issue 559743002: Cleanup: Use base/files/file_util.h instead of base/file_util.h in cc/, chromecast/, cloud_print/, … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win 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
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 "cloud_print/virtual_driver/win/virtual_driver_helpers.h" 5 #include "cloud_print/virtual_driver/win/virtual_driver_helpers.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <winspool.h> 8 #include <winspool.h>
9 9
10 #include "base/file_util.h" 10 #include "base/files/file_util.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 #include "base/win/windows_version.h" 13 #include "base/win/windows_version.h"
14 #include "cloud_print/common/win/cloud_print_utils.h" 14 #include "cloud_print/common/win/cloud_print_utils.h"
15 15
16 namespace cloud_print { 16 namespace cloud_print {
17 17
18 const size_t kMaxMessageLen = 100; 18 const size_t kMaxMessageLen = 100;
19 19
20 void DisplayWindowsMessage(HWND hwnd, HRESULT hr, 20 void DisplayWindowsMessage(HWND hwnd, HRESULT hr,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 bool IsSystem64Bit() { 53 bool IsSystem64Bit() {
54 base::win::OSInfo::WindowsArchitecture arch = 54 base::win::OSInfo::WindowsArchitecture arch =
55 base::win::OSInfo::GetInstance()->architecture(); 55 base::win::OSInfo::GetInstance()->architecture();
56 return (arch == base::win::OSInfo::X64_ARCHITECTURE) || 56 return (arch == base::win::OSInfo::X64_ARCHITECTURE) ||
57 (arch == base::win::OSInfo::IA64_ARCHITECTURE); 57 (arch == base::win::OSInfo::IA64_ARCHITECTURE);
58 } 58 }
59 59
60 } 60 }
61 61
OLDNEW
« no previous file with comments | « cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc ('k') | mojo/apps/js/test/js_to_cpp_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698