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/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/path_service.h" |
11 #include "base/process_util.h" | 12 #include "base/process_util.h" |
12 #include "base/win_util.h" | 13 #include "base/win_util.h" |
13 #include "chrome/browser/browser_init.h" | 14 #include "chrome/browser/browser_init.h" |
14 #include "chrome/browser/browser_process.h" | 15 #include "chrome/browser/browser_process.h" |
15 #include "chrome/browser/profile.h" | 16 #include "chrome/browser/profile.h" |
16 #include "chrome/browser/profile_manager.h" | 17 #include "chrome/browser/profile_manager.h" |
17 #include "chrome/common/chrome_constants.h" | 18 #include "chrome/common/chrome_constants.h" |
18 #include "chrome/common/chrome_paths.h" | 19 #include "chrome/common/chrome_paths.h" |
19 #include "chrome/common/result_codes.h" | 20 #include "chrome/common/result_codes.h" |
20 #include "grit/chromium_strings.h" | 21 #include "grit/chromium_strings.h" |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 switch (message) { | 261 switch (message) { |
261 case WM_COPYDATA: | 262 case WM_COPYDATA: |
262 return OnCopyData(reinterpret_cast<HWND>(wparam), | 263 return OnCopyData(reinterpret_cast<HWND>(wparam), |
263 reinterpret_cast<COPYDATASTRUCT*>(lparam)); | 264 reinterpret_cast<COPYDATASTRUCT*>(lparam)); |
264 default: | 265 default: |
265 break; | 266 break; |
266 } | 267 } |
267 | 268 |
268 return ::DefWindowProc(hwnd, message, wparam, lparam); | 269 return ::DefWindowProc(hwnd, message, wparam, lparam); |
269 } | 270 } |
OLD | NEW |