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 "chrome/browser/chrome_browser_main_win.h" | 5 #include "chrome/browser/chrome_browser_main_win.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 #include <shellapi.h> | 8 #include <shellapi.h> |
| 9 #include <stddef.h> |
9 | 10 |
10 #include <algorithm> | 11 #include <algorithm> |
11 | 12 |
12 #include "base/base_switches.h" | 13 #include "base/base_switches.h" |
13 #include "base/command_line.h" | 14 #include "base/command_line.h" |
14 #include "base/environment.h" | 15 #include "base/environment.h" |
15 #include "base/files/file_enumerator.h" | 16 #include "base/files/file_enumerator.h" |
16 #include "base/files/file_path.h" | 17 #include "base/files/file_path.h" |
17 #include "base/files/file_util.h" | 18 #include "base/files/file_util.h" |
18 #include "base/i18n/rtl.h" | 19 #include "base/i18n/rtl.h" |
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
573 if (resource_id) | 574 if (resource_id) |
574 return l10n_util::GetStringUTF16(resource_id); | 575 return l10n_util::GetStringUTF16(resource_id); |
575 return base::string16(); | 576 return base::string16(); |
576 } | 577 } |
577 | 578 |
578 // static | 579 // static |
579 void ChromeBrowserMainPartsWin::SetupInstallerUtilStrings() { | 580 void ChromeBrowserMainPartsWin::SetupInstallerUtilStrings() { |
580 CR_DEFINE_STATIC_LOCAL(TranslationDelegate, delegate, ()); | 581 CR_DEFINE_STATIC_LOCAL(TranslationDelegate, delegate, ()); |
581 installer::SetTranslationDelegate(&delegate); | 582 installer::SetTranslationDelegate(&delegate); |
582 } | 583 } |
OLD | NEW |