| 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 "chrome/common/chrome_constants.h" | 10 #include "chrome/common/chrome_constants.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 MainSetActiveURL set_active_url = | 22 MainSetActiveURL set_active_url = |
| 23 reinterpret_cast<MainSetActiveURL>( | 23 reinterpret_cast<MainSetActiveURL>( |
| 24 GetProcAddress(exe_module, "SetActiveURL")); | 24 GetProcAddress(exe_module, "SetActiveURL")); |
| 25 if (!set_active_url) | 25 if (!set_active_url) |
| 26 return; | 26 return; |
| 27 | 27 |
| 28 (set_active_url)(UTF8ToWide(url.possibly_invalid_spec()).c_str()); | 28 (set_active_url)(UTF8ToWide(url.possibly_invalid_spec()).c_str()); |
| 29 } | 29 } |
| 30 | 30 |
| 31 } // namespace child_process_logging | 31 } // namespace child_process_logging |
| OLD | NEW |