| OLD | NEW |
| 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 <windows.h> | 5 #include <windows.h> |
| 6 | 6 |
| 7 #include "chrome/installer/util/logging_installer.h" | 7 #include "chrome/installer/util/logging_installer.h" |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
| 11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/logging_win.h" | 13 #include "base/logging_win.h" |
| 14 #include "base/path_service.h" | 14 #include "base/path_service.h" |
| 15 #include "base/platform_file.h" | 15 #include "base/platform_file.h" |
| 16 #include "base/string_util.h" | 16 #include "base/strings/string_util.h" |
| 17 #include "base/strings/utf_string_conversions.h" | 17 #include "base/strings/utf_string_conversions.h" |
| 18 #include "base/win/scoped_handle.h" | 18 #include "base/win/scoped_handle.h" |
| 19 #include "chrome/installer/util/master_preferences.h" | 19 #include "chrome/installer/util/master_preferences.h" |
| 20 #include "chrome/installer/util/master_preferences_constants.h" | 20 #include "chrome/installer/util/master_preferences_constants.h" |
| 21 #include "chrome/installer/util/util_constants.h" | 21 #include "chrome/installer/util/util_constants.h" |
| 22 | 22 |
| 23 // {93BCE0BF-3FAF-43b1-9E28-BEB6FAB5ECE7} | 23 // {93BCE0BF-3FAF-43b1-9E28-BEB6FAB5ECE7} |
| 24 static const GUID kSetupTraceProvider = { 0x93bce0bf, 0x3faf, 0x43b1, | 24 static const GUID kSetupTraceProvider = { 0x93bce0bf, 0x3faf, 0x43b1, |
| 25 { 0x9e, 0x28, 0xbe, 0xb6, 0xfa, 0xb5, 0xec, 0xe7 } }; | 25 { 0x9e, 0x28, 0xbe, 0xb6, 0xfa, 0xb5, 0xec, 0xe7 } }; |
| 26 | 26 |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 base::FilePath log_path; | 126 base::FilePath log_path; |
| 127 if (PathService::Get(base::DIR_TEMP, &log_path)) { | 127 if (PathService::Get(base::DIR_TEMP, &log_path)) { |
| 128 log_path = log_path.Append(log_filename); | 128 log_path = log_path.Append(log_filename); |
| 129 return log_path; | 129 return log_path; |
| 130 } else { | 130 } else { |
| 131 return base::FilePath(log_filename); | 131 return base::FilePath(log_filename); |
| 132 } | 132 } |
| 133 } | 133 } |
| 134 | 134 |
| 135 } // namespace installer | 135 } // namespace installer |
| OLD | NEW |