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/command_line.h" | 5 #include "base/command_line.h" |
6 #include "base/mac/mac_util.h" | 6 #include "base/mac/mac_util.h" |
7 #include "chrome/browser/background_mode_manager.h" | 7 #include "chrome/browser/background_mode_manager.h" |
8 #include "chrome/browser/browser_process.h" | 8 #include "chrome/browser/browser_process.h" |
9 #include "chrome/browser/prefs/pref_service.h" | 9 #include "chrome/browser/prefs/pref_service.h" |
10 #include "chrome/common/chrome_switches.h" | 10 #include "chrome/common/chrome_switches.h" |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 return; | 79 return; |
80 } | 80 } |
81 // Call to the File thread to remove the login item since it requires | 81 // Call to the File thread to remove the login item since it requires |
82 // accessing the disk. | 82 // accessing the disk. |
83 BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE, | 83 BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE, |
84 new DisableLaunchOnStartupTask()); | 84 new DisableLaunchOnStartupTask()); |
85 } | 85 } |
86 } | 86 } |
87 | 87 |
88 void BackgroundModeManager::DisplayAppInstalledNotification( | 88 void BackgroundModeManager::DisplayAppInstalledNotification( |
89 const Extension* extension) { | 89 const Extension* extension, |
| 90 Profile* profile) { |
90 // TODO(atwilson): Display a platform-appropriate notification here. | 91 // TODO(atwilson): Display a platform-appropriate notification here. |
91 // http://crbug.com/74970 | 92 // http://crbug.com/74970 |
92 } | 93 } |
93 | 94 |
94 string16 BackgroundModeManager::GetPreferencesMenuLabel() { | 95 string16 BackgroundModeManager::GetPreferencesMenuLabel() { |
95 return l10n_util::GetStringUTF16(IDS_OPTIONS); | 96 return l10n_util::GetStringUTF16(IDS_OPTIONS); |
96 } | 97 } |
OLD | NEW |