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 "chrome/browser/background/background_mode_manager.h" | 5 #include "chrome/browser/background/background_mode_manager.h" |
6 | 6 |
| 7 #include "chrome/common/extensions/extension.h" |
7 #include "grit/generated_resources.h" | 8 #include "grit/generated_resources.h" |
8 #include "ui/base/l10n/l10n_util.h" | 9 #include "ui/base/l10n/l10n_util.h" |
9 | 10 |
10 void BackgroundModeManager::EnableLaunchOnStartup(bool should_launch) { | 11 void BackgroundModeManager::EnableLaunchOnStartup(bool should_launch) { |
11 NOTREACHED(); | 12 NOTREACHED(); |
12 } | 13 } |
13 | 14 |
14 void BackgroundModeManager::DisplayAppInstalledNotification( | 15 void BackgroundModeManager::DisplayAppInstalledNotification( |
15 const Extension* extension) { | 16 const extensions::Extension* extension) { |
16 // No need to display anything on ChromeOS because all extensions run all | 17 // No need to display anything on ChromeOS because all extensions run all |
17 // the time anyway. | 18 // the time anyway. |
18 } | 19 } |
19 | 20 |
20 string16 BackgroundModeManager::GetPreferencesMenuLabel() { | 21 string16 BackgroundModeManager::GetPreferencesMenuLabel() { |
21 return l10n_util::GetStringUTF16(IDS_SETTINGS); | 22 return l10n_util::GetStringUTF16(IDS_SETTINGS); |
22 } | 23 } |
OLD | NEW |