| 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/common/child_process_logging.h" | 5 #include "chrome/common/child_process_logging.h" |
| 6 | 6 |
| 7 #include <windows.h> | 7 #include <windows.h> |
| 8 | 8 |
| 9 #include "base/string_util.h" | 9 #include "base/string_util.h" |
| 10 #include "base/string_number_conversions.h" | 10 #include "base/string_number_conversions.h" |
| 11 #include "base/stringprintf.h" | 11 #include "base/stringprintf.h" |
| 12 #include "base/utf_string_conversions.h" | 12 #include "base/utf_string_conversions.h" |
| 13 #include "chrome/common/chrome_constants.h" | 13 #include "chrome/common/chrome_constants.h" |
| 14 #include "chrome/common/gpu_info.h" | |
| 15 #include "chrome/installer/util/google_update_settings.h" | 14 #include "chrome/installer/util/google_update_settings.h" |
| 15 #include "content/common/gpu_info.h" |
| 16 #include "googleurl/src/gurl.h" | 16 #include "googleurl/src/gurl.h" |
| 17 | 17 |
| 18 namespace child_process_logging { | 18 namespace child_process_logging { |
| 19 // exported in breakpad_win.cc: void __declspec(dllexport) __cdecl SetActiveURL. | 19 // exported in breakpad_win.cc: void __declspec(dllexport) __cdecl SetActiveURL. |
| 20 typedef void (__cdecl *MainSetActiveURL)(const wchar_t*); | 20 typedef void (__cdecl *MainSetActiveURL)(const wchar_t*); |
| 21 | 21 |
| 22 // exported in breakpad_win.cc: void __declspec(dllexport) __cdecl SetClientId. | 22 // exported in breakpad_win.cc: void __declspec(dllexport) __cdecl SetClientId. |
| 23 typedef void (__cdecl *MainSetClientId)(const wchar_t*); | 23 typedef void (__cdecl *MainSetClientId)(const wchar_t*); |
| 24 | 24 |
| 25 // exported in breakpad_win.cc: | 25 // exported in breakpad_win.cc: |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 return; | 153 return; |
| 154 set_number_of_views = reinterpret_cast<MainSetNumberOfViews>( | 154 set_number_of_views = reinterpret_cast<MainSetNumberOfViews>( |
| 155 GetProcAddress(exe_module, "SetNumberOfViews")); | 155 GetProcAddress(exe_module, "SetNumberOfViews")); |
| 156 if (!set_number_of_views) | 156 if (!set_number_of_views) |
| 157 return; | 157 return; |
| 158 } | 158 } |
| 159 (set_number_of_views)(number_of_views); | 159 (set_number_of_views)(number_of_views); |
| 160 } | 160 } |
| 161 | 161 |
| 162 } // namespace child_process_logging | 162 } // namespace child_process_logging |
| OLD | NEW |