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

Side by Side Diff: chrome/browser/platform_util_win.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "chrome/browser/platform_util.h" 5 #include "chrome/browser/platform_util.h"
6 6
7 #include <commdlg.h> 7 #include <commdlg.h>
8 #include <dwmapi.h> 8 #include <dwmapi.h>
9 #include <shellapi.h> 9 #include <shellapi.h>
10 #include <shlobj.h> 10 #include <shlobj.h>
11 #include <stddef.h>
11 12
12 #include "base/bind.h" 13 #include "base/bind.h"
13 #include "base/bind_helpers.h" 14 #include "base/bind_helpers.h"
14 #include "base/files/file_path.h" 15 #include "base/files/file_path.h"
15 #include "base/files/file_util.h" 16 #include "base/files/file_util.h"
16 #include "base/logging.h" 17 #include "base/logging.h"
18 #include "base/macros.h"
17 #include "base/metrics/field_trial.h" 19 #include "base/metrics/field_trial.h"
18 #include "base/strings/string_util.h" 20 #include "base/strings/string_util.h"
19 #include "base/strings/utf_string_conversions.h" 21 #include "base/strings/utf_string_conversions.h"
20 #include "base/win/registry.h" 22 #include "base/win/registry.h"
21 #include "base/win/scoped_co_mem.h" 23 #include "base/win/scoped_co_mem.h"
22 #include "base/win/scoped_comptr.h" 24 #include "base/win/scoped_comptr.h"
23 #include "base/win/windows_version.h" 25 #include "base/win/windows_version.h"
24 #include "chrome/browser/lifetime/application_lifetime.h" 26 #include "chrome/browser/lifetime/application_lifetime.h"
25 #include "chrome/browser/platform_util_internal.h" 27 #include "chrome/browser/platform_util_internal.h"
26 #include "chrome/browser/ui/host_desktop.h" 28 #include "chrome/browser/ui/host_desktop.h"
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 233
232 if (chrome::GetActiveDesktop() == chrome::HOST_DESKTOP_TYPE_ASH && 234 if (chrome::GetActiveDesktop() == chrome::HOST_DESKTOP_TYPE_ASH &&
233 !url.SchemeIsHTTPOrHTTPS()) 235 !url.SchemeIsHTTPOrHTTPS())
234 chrome::ActivateDesktopHelper(chrome::ASH_KEEP_RUNNING); 236 chrome::ActivateDesktopHelper(chrome::ASH_KEEP_RUNNING);
235 237
236 BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE, 238 BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE,
237 base::Bind(&OpenExternalOnFileThread, url)); 239 base::Bind(&OpenExternalOnFileThread, url));
238 } 240 }
239 241
240 } // namespace platform_util 242 } // namespace platform_util
OLDNEW
« no previous file with comments | « chrome/browser/platform_util_unittest.cc ('k') | chrome/browser/plugins/chrome_content_browser_client_plugins_part.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698