OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "build/intsafe_workaround.h" | 5 #include "build/intsafe_workaround.h" |
6 | 6 |
7 #include <atlbase.h> | 7 #include <atlbase.h> |
8 #include <atlcom.h> | 8 #include <atlcom.h> |
9 #include <atlctl.h> | 9 #include <atlctl.h> |
10 #include <initguid.h> | 10 #include <initguid.h> |
11 #include <shellapi.h> | 11 #include <shellapi.h> |
12 | 12 |
13 #include "base/at_exit.h" | 13 #include "base/at_exit.h" |
14 #include "base/command_line.h" | 14 #include "base/command_line.h" |
15 #include "base/file_util.h" | 15 #include "base/file_util.h" |
16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
17 #include "base/process_util.h" | 17 #include "base/process_util.h" |
18 #include "base/string16.h" | 18 #include "base/strings/string16.h" |
19 #include "base/win/scoped_com_initializer.h" | 19 #include "base/win/scoped_com_initializer.h" |
20 #include "base/win/scoped_handle.h" | 20 #include "base/win/scoped_handle.h" |
21 #include "breakpad/src/client/windows/handler/exception_handler.h" | 21 #include "breakpad/src/client/windows/handler/exception_handler.h" |
22 #include "chrome/common/chrome_switches.h" | 22 #include "chrome/common/chrome_switches.h" |
23 #include "win8/delegate_execute/command_execute_impl.h" | 23 #include "win8/delegate_execute/command_execute_impl.h" |
24 #include "win8/delegate_execute/crash_server_init.h" | 24 #include "win8/delegate_execute/crash_server_init.h" |
25 #include "win8/delegate_execute/delegate_execute_operation.h" | 25 #include "win8/delegate_execute/delegate_execute_operation.h" |
26 #include "win8/delegate_execute/resource.h" | 26 #include "win8/delegate_execute/resource.h" |
27 | 27 |
28 using namespace ATL; | 28 using namespace ATL; |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 case DelegateExecuteOperation::RELAUNCH_CHROME: | 125 case DelegateExecuteOperation::RELAUNCH_CHROME: |
126 ret_code = RelaunchChrome(operation); | 126 ret_code = RelaunchChrome(operation); |
127 break; | 127 break; |
128 default: | 128 default: |
129 NOTREACHED(); | 129 NOTREACHED(); |
130 } | 130 } |
131 } | 131 } |
132 AtlTrace("delegate_execute exit, code = %d\n", ret_code); | 132 AtlTrace("delegate_execute exit, code = %d\n", ret_code); |
133 return ret_code; | 133 return ret_code; |
134 } | 134 } |
OLD | NEW |