Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(319)

Side by Side Diff: win8/delegate_execute/delegate_execute.cc

Issue 12096064: Automatic Win8 default browser registration for the ash unittests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Dear Greg. Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 <atlbase.h> 5 #include <atlbase.h>
6 #include <atlcom.h> 6 #include <atlcom.h>
7 #include <atlctl.h> 7 #include <atlctl.h>
8 #include <initguid.h> 8 #include <initguid.h>
9 #include <shellapi.h> 9 #include <shellapi.h>
10 10
11 #include "base/at_exit.h" 11 #include "base/at_exit.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/file_util.h" 13 #include "base/file_util.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/process_util.h" 15 #include "base/process_util.h"
16 #include "base/string16.h" 16 #include "base/string16.h"
17 #include "base/win/scoped_com_initializer.h" 17 #include "base/win/scoped_com_initializer.h"
18 #include "base/win/scoped_handle.h" 18 #include "base/win/scoped_handle.h"
19 #include "breakpad/src/client/windows/handler/exception_handler.h" 19 #include "breakpad/src/client/windows/handler/exception_handler.h"
20 #include "chrome/common/chrome_switches.h" 20 #include "chrome/common/chrome_switches.h"
21 #include "command_execute_impl.h" 21 #include "win8/delegate_execute/command_execute_impl.h"
22 #include "win8/delegate_execute/crash_server_init.h" 22 #include "win8/delegate_execute/crash_server_init.h"
23 #include "win8/delegate_execute/delegate_execute_operation.h" 23 #include "win8/delegate_execute/delegate_execute_operation.h"
24 #include "win8/delegate_execute/resource.h" 24 #include "win8/delegate_execute/resource.h"
25 25
26 using namespace ATL; 26 using namespace ATL;
27 27
28 class DelegateExecuteModule 28 class DelegateExecuteModule
29 : public ATL::CAtlExeModuleT< DelegateExecuteModule > { 29 : public ATL::CAtlExeModuleT< DelegateExecuteModule > {
30 public : 30 public :
31 typedef ATL::CAtlExeModuleT<DelegateExecuteModule> ParentClass; 31 typedef ATL::CAtlExeModuleT<DelegateExecuteModule> ParentClass;
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 case DelegateExecuteOperation::RELAUNCH_CHROME: 123 case DelegateExecuteOperation::RELAUNCH_CHROME:
124 ret_code = RelaunchChrome(operation); 124 ret_code = RelaunchChrome(operation);
125 break; 125 break;
126 default: 126 default:
127 NOTREACHED(); 127 NOTREACHED();
128 } 128 }
129 } 129 }
130 AtlTrace("delegate_execute exit, code = %d\n", ret_code); 130 AtlTrace("delegate_execute exit, code = %d\n", ret_code);
131 return ret_code; 131 return ret_code;
132 } 132 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698