Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / background / background_mode_manager_chromeos.cc
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
3 // found in the LICENSE file.
4
5 #include "chrome/browser/background/background_mode_manager.h"
6
7 #include "chrome/grit/generated_resources.h"
8 #include "extensions/common/extension.h"
9 #include "ui/base/l10n/l10n_util.h"
10
11 void BackgroundModeManager::EnableLaunchOnStartup(bool should_launch) {
12   NOTREACHED();
13 }
14
15 void BackgroundModeManager::DisplayAppInstalledNotification(
16     const extensions::Extension* extension) {
17   // No need to display anything on ChromeOS because all extensions run all
18   // the time anyway.
19 }
20
21 base::string16 BackgroundModeManager::GetPreferencesMenuLabel() {
22   return l10n_util::GetStringUTF16(IDS_SETTINGS);
23 }