| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 | 11 |
| 12 #include "app/win_util.h" | 12 #include "app/win_util.h" |
| 13 #include "base/file_path.h" | 13 #include "base/file_path.h" |
| 14 #include "base/file_util.h" | 14 #include "base/file_util.h" |
| 15 #include "base/path_service.h" | 15 #include "base/path_service.h" |
| 16 #include "base/logging.h" | 16 #include "base/logging.h" |
| 17 #include "base/registry.h" | 17 #include "base/registry.h" |
| 18 #include "base/scoped_comptr_win.h" | 18 #include "base/scoped_comptr_win.h" |
| 19 #include "base/string_util.h" | 19 #include "base/string_util.h" |
| 20 #include "base/utf_string_conversions.h" |
| 20 #include "chrome/installer/util/google_update_settings.h" | 21 #include "chrome/installer/util/google_update_settings.h" |
| 21 #include "chrome/installer/util/google_update_constants.h" | 22 #include "chrome/installer/util/google_update_constants.h" |
| 22 #include "chrome/installer/util/install_util.h" | 23 #include "chrome/installer/util/install_util.h" |
| 23 #include "gfx/native_widget_types.h" | 24 #include "gfx/native_widget_types.h" |
| 24 #include "googleurl/src/gurl.h" | 25 #include "googleurl/src/gurl.h" |
| 25 | 26 |
| 26 namespace platform_util { | 27 namespace platform_util { |
| 27 | 28 |
| 28 void ShowItemInFolder(const FilePath& full_path) { | 29 void ShowItemInFolder(const FilePath& full_path) { |
| 29 FilePath dir = full_path.DirName(); | 30 FilePath dir = full_path.DirName(); |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 | 176 |
| 176 GoogleUpdateSettings::GetChromeChannel(is_system_install, &channel); | 177 GoogleUpdateSettings::GetChromeChannel(is_system_install, &channel); |
| 177 } | 178 } |
| 178 return channel; | 179 return channel; |
| 179 #else | 180 #else |
| 180 return string16(); | 181 return string16(); |
| 181 #endif | 182 #endif |
| 182 } | 183 } |
| 183 | 184 |
| 184 } // namespace platform_util | 185 } // namespace platform_util |
| OLD | NEW |