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/bind.h" | 5 #include "base/bind.h" |
6 #include "base/command_line.h" | 6 #include "base/command_line.h" |
7 #include "base/mac/mac_util.h" | 7 #include "base/mac/mac_util.h" |
| 8 #include "base/prefs/pref_service.h" |
8 #include "chrome/browser/background/background_mode_manager.h" | 9 #include "chrome/browser/background/background_mode_manager.h" |
9 #include "chrome/browser/browser_process.h" | 10 #include "chrome/browser/browser_process.h" |
10 #include "chrome/browser/prefs/pref_service.h" | |
11 #include "chrome/common/chrome_switches.h" | 11 #include "chrome/common/chrome_switches.h" |
12 #include "chrome/common/pref_names.h" | 12 #include "chrome/common/pref_names.h" |
13 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
14 #include "grit/generated_resources.h" | 14 #include "grit/generated_resources.h" |
15 #include "ui/base/l10n/l10n_util.h" | 15 #include "ui/base/l10n/l10n_util.h" |
16 | 16 |
17 using content::BrowserThread; | 17 using content::BrowserThread; |
18 | 18 |
19 namespace { | 19 namespace { |
20 #if !defined(NDEBUG) | 20 #if !defined(NDEBUG) |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 | 121 |
122 void BackgroundModeManager::DisplayAppInstalledNotification( | 122 void BackgroundModeManager::DisplayAppInstalledNotification( |
123 const extensions::Extension* extension) { | 123 const extensions::Extension* extension) { |
124 // TODO(atwilson): Display a platform-appropriate notification here. | 124 // TODO(atwilson): Display a platform-appropriate notification here. |
125 // http://crbug.com/74970 | 125 // http://crbug.com/74970 |
126 } | 126 } |
127 | 127 |
128 string16 BackgroundModeManager::GetPreferencesMenuLabel() { | 128 string16 BackgroundModeManager::GetPreferencesMenuLabel() { |
129 return l10n_util::GetStringUTF16(IDS_OPTIONS); | 129 return l10n_util::GetStringUTF16(IDS_OPTIONS); |
130 } | 130 } |
OLD | NEW |