| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/utf_string_conversions.h" |
| 10 #include "chrome/app/breakpad_win.h" | 11 #include "chrome/app/breakpad_win.h" |
| 11 #include "chrome/common/chrome_constants.h" | 12 #include "chrome/common/chrome_constants.h" |
| 12 #include "chrome/installer/util/google_update_settings.h" | 13 #include "chrome/installer/util/google_update_settings.h" |
| 13 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
| 14 | 15 |
| 15 namespace child_process_logging { | 16 namespace child_process_logging { |
| 16 // exported in breakpad_win.cc: void __declspec(dllexport) __cdecl SetActiveURL. | 17 // exported in breakpad_win.cc: void __declspec(dllexport) __cdecl SetActiveURL. |
| 17 typedef void (__cdecl *MainSetActiveURL)(const wchar_t*); | 18 typedef void (__cdecl *MainSetActiveURL)(const wchar_t*); |
| 18 | 19 |
| 19 // exported in breakpad_win.cc: void __declspec(dllexport) __cdecl SetClientId. | 20 // exported in breakpad_win.cc: void __declspec(dllexport) __cdecl SetClientId. |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 if (iter != extension_ids.end()) { | 84 if (iter != extension_ids.end()) { |
| 84 (set_extension_id)(i, ASCIIToWide(iter->c_str()).c_str()); | 85 (set_extension_id)(i, ASCIIToWide(iter->c_str()).c_str()); |
| 85 ++iter; | 86 ++iter; |
| 86 } else { | 87 } else { |
| 87 (set_extension_id)(i, L""); | 88 (set_extension_id)(i, L""); |
| 88 } | 89 } |
| 89 } | 90 } |
| 90 } | 91 } |
| 91 | 92 |
| 92 } // namespace child_process_logging | 93 } // namespace child_process_logging |
| OLD | NEW |