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 <windows.h> | 5 #include <windows.h> |
6 #include <shlwapi.h> | 6 #include <shlwapi.h> |
7 | 7 |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/debug/trace_event.h" |
9 #include "base/environment.h" | 10 #include "base/environment.h" |
10 #include "base/file_util.h" | 11 #include "base/file_util.h" |
11 #include "base/trace_event.h" | |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
14 #include "base/utf_string_conversions.h" | 14 #include "base/utf_string_conversions.h" |
15 #include "chrome/app/breakpad_win.h" | 15 #include "chrome/app/breakpad_win.h" |
16 #include "chrome/app/client_util.h" | 16 #include "chrome/app/client_util.h" |
17 #include "chrome/common/chrome_switches.h" | 17 #include "chrome/common/chrome_switches.h" |
18 #include "chrome/common/result_codes.h" | 18 #include "chrome/common/result_codes.h" |
19 #include "chrome/installer/util/browser_distribution.h" | 19 #include "chrome/installer/util/browser_distribution.h" |
20 #include "chrome/installer/util/install_util.h" | 20 #include "chrome/installer/util/install_util.h" |
21 #include "chrome/installer/util/google_update_constants.h" | 21 #include "chrome/installer/util/google_update_constants.h" |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 } | 299 } |
300 }; | 300 }; |
301 | 301 |
302 MainDllLoader* MakeMainDllLoader() { | 302 MainDllLoader* MakeMainDllLoader() { |
303 #if defined(GOOGLE_CHROME_BUILD) | 303 #if defined(GOOGLE_CHROME_BUILD) |
304 return new ChromeDllLoader(); | 304 return new ChromeDllLoader(); |
305 #else | 305 #else |
306 return new ChromiumDllLoader(); | 306 return new ChromiumDllLoader(); |
307 #endif | 307 #endif |
308 } | 308 } |
OLD | NEW |