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/browser/process_singleton.h" | 5 #include "chrome/browser/process_singleton.h" |
6 | 6 |
7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
8 #include "app/win_util.h" | 8 #include "app/win_util.h" |
9 #include "base/base_paths.h" | 9 #include "base/base_paths.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/file_path.h" | 11 #include "base/file_path.h" |
12 #include "base/path_service.h" | 12 #include "base/path_service.h" |
13 #include "base/process_util.h" | 13 #include "base/process_util.h" |
14 #include "base/scoped_handle.h" | 14 #include "base/scoped_handle.h" |
15 #include "base/win_util.h" | 15 #include "base/win_util.h" |
16 #include "chrome/browser/browser_process.h" | 16 #include "chrome/browser/browser_process.h" |
17 #include "chrome/browser/extensions/extensions_startup.h" | 17 #include "chrome/browser/extensions/extensions_startup.h" |
18 #include "chrome/browser/platform_util.h" | 18 #include "chrome/browser/platform_util.h" |
19 #include "chrome/browser/profile.h" | 19 #include "chrome/browser/profiles/profile.h" |
20 #include "chrome/browser/profile_manager.h" | 20 #include "chrome/browser/profiles/profile_manager.h" |
21 #include "chrome/browser/ui/browser_init.h" | 21 #include "chrome/browser/ui/browser_init.h" |
22 #include "chrome/common/chrome_constants.h" | 22 #include "chrome/common/chrome_constants.h" |
23 #include "chrome/common/chrome_paths.h" | 23 #include "chrome/common/chrome_paths.h" |
24 #include "chrome/common/chrome_switches.h" | 24 #include "chrome/common/chrome_switches.h" |
25 #include "chrome/common/result_codes.h" | 25 #include "chrome/common/result_codes.h" |
26 #include "chrome/installer/util/browser_distribution.h" | 26 #include "chrome/installer/util/browser_distribution.h" |
27 #include "grit/chromium_strings.h" | 27 #include "grit/chromium_strings.h" |
28 #include "grit/generated_resources.h" | 28 #include "grit/generated_resources.h" |
29 | 29 |
30 namespace { | 30 namespace { |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 switch (message) { | 304 switch (message) { |
305 case WM_COPYDATA: | 305 case WM_COPYDATA: |
306 return OnCopyData(reinterpret_cast<HWND>(wparam), | 306 return OnCopyData(reinterpret_cast<HWND>(wparam), |
307 reinterpret_cast<COPYDATASTRUCT*>(lparam)); | 307 reinterpret_cast<COPYDATASTRUCT*>(lparam)); |
308 default: | 308 default: |
309 break; | 309 break; |
310 } | 310 } |
311 | 311 |
312 return ::DefWindowProc(hwnd, message, wparam, lparam); | 312 return ::DefWindowProc(hwnd, message, wparam, lparam); |
313 } | 313 } |
OLD | NEW |