OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "base/base_paths.h" | 5 #include "base/base_paths.h" |
6 #include "base/bind.h" | 6 #include "base/bind.h" |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
11 #include "base/task.h" | |
12 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
13 #include "base/win/registry.h" | 12 #include "base/win/registry.h" |
14 #include "chrome/browser/background/background_mode_manager.h" | 13 #include "chrome/browser/background/background_mode_manager.h" |
15 #include "chrome/common/chrome_switches.h" | 14 #include "chrome/common/chrome_switches.h" |
16 #include "content/public/browser/browser_thread.h" | 15 #include "content/public/browser/browser_thread.h" |
17 #include "grit/chromium_strings.h" | 16 #include "grit/chromium_strings.h" |
18 #include "grit/generated_resources.h" | 17 #include "grit/generated_resources.h" |
19 #include "third_party/skia/include/core/SkBitmap.h" | 18 #include "third_party/skia/include/core/SkBitmap.h" |
20 #include "ui/base/l10n/l10n_util.h" | 19 #include "ui/base/l10n/l10n_util.h" |
21 | 20 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 l10n_util::GetStringUTF16(IDS_BACKGROUND_APP_INSTALLED_BALLOON_TITLE), | 90 l10n_util::GetStringUTF16(IDS_BACKGROUND_APP_INSTALLED_BALLOON_TITLE), |
92 l10n_util::GetStringFUTF16( | 91 l10n_util::GetStringFUTF16( |
93 IDS_BACKGROUND_APP_INSTALLED_BALLOON_BODY, | 92 IDS_BACKGROUND_APP_INSTALLED_BALLOON_BODY, |
94 UTF8ToUTF16(extension->name()), | 93 UTF8ToUTF16(extension->name()), |
95 l10n_util::GetStringUTF16(IDS_PRODUCT_NAME))); | 94 l10n_util::GetStringUTF16(IDS_PRODUCT_NAME))); |
96 } | 95 } |
97 | 96 |
98 string16 BackgroundModeManager::GetPreferencesMenuLabel() { | 97 string16 BackgroundModeManager::GetPreferencesMenuLabel() { |
99 return l10n_util::GetStringUTF16(IDS_OPTIONS); | 98 return l10n_util::GetStringUTF16(IDS_OPTIONS); |
100 } | 99 } |
OLD | NEW |