| 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 "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/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/path_service.h" | |
| 11 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| 12 #include "base/win/registry.h" | 11 #include "base/win/registry.h" |
| 13 #include "chrome/browser/background/background_mode_manager.h" | 12 #include "chrome/browser/background/background_mode_manager.h" |
| 14 #include "chrome/common/chrome_switches.h" | 13 #include "chrome/common/chrome_switches.h" |
| 15 #include "chrome/grit/chromium_strings.h" | 14 #include "chrome/grit/chromium_strings.h" |
| 16 #include "chrome/grit/generated_resources.h" | 15 #include "chrome/grit/generated_resources.h" |
| 17 #include "chrome/installer/util/auto_launch_util.h" | 16 #include "chrome/installer/util/auto_launch_util.h" |
| 18 #include "content/public/browser/browser_thread.h" | 17 #include "content/public/browser/browser_thread.h" |
| 19 #include "ui/base/l10n/l10n_util.h" | 18 #include "ui/base/l10n/l10n_util.h" |
| 20 #include "ui/gfx/image/image_skia.h" | 19 #include "ui/gfx/image/image_skia.h" |
| (...skipping 21 matching lines...) Expand all Loading... |
| 42 l10n_util::GetStringUTF16(IDS_BACKGROUND_APP_INSTALLED_BALLOON_TITLE), | 41 l10n_util::GetStringUTF16(IDS_BACKGROUND_APP_INSTALLED_BALLOON_TITLE), |
| 43 l10n_util::GetStringFUTF16( | 42 l10n_util::GetStringFUTF16( |
| 44 IDS_BACKGROUND_APP_INSTALLED_BALLOON_BODY, | 43 IDS_BACKGROUND_APP_INSTALLED_BALLOON_BODY, |
| 45 base::UTF8ToUTF16(extension->name()), | 44 base::UTF8ToUTF16(extension->name()), |
| 46 l10n_util::GetStringUTF16(IDS_PRODUCT_NAME))); | 45 l10n_util::GetStringUTF16(IDS_PRODUCT_NAME))); |
| 47 } | 46 } |
| 48 | 47 |
| 49 base::string16 BackgroundModeManager::GetPreferencesMenuLabel() { | 48 base::string16 BackgroundModeManager::GetPreferencesMenuLabel() { |
| 50 return l10n_util::GetStringUTF16(IDS_OPTIONS); | 49 return l10n_util::GetStringUTF16(IDS_OPTIONS); |
| 51 } | 50 } |
| OLD | NEW |