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 "chrome/browser/background/background_mode_manager.h" | 8 #include "chrome/browser/background/background_mode_manager.h" |
9 #include "chrome/browser/browser_process.h" | 9 #include "chrome/browser/browser_process.h" |
10 #include "chrome/browser/prefs/pref_service.h" | 10 #include "chrome/browser/prefs/pref_service.h" |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 return; | 67 return; |
68 } | 68 } |
69 // Call to the File thread to remove the login item since it requires | 69 // Call to the File thread to remove the login item since it requires |
70 // accessing the disk. | 70 // accessing the disk. |
71 BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE, | 71 BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE, |
72 base::Bind(DisableLaunchOnStartupCallback)); | 72 base::Bind(DisableLaunchOnStartupCallback)); |
73 } | 73 } |
74 } | 74 } |
75 | 75 |
76 void BackgroundModeManager::DisplayAppInstalledNotification( | 76 void BackgroundModeManager::DisplayAppInstalledNotification( |
77 const Extension* extension) { | 77 const extensions::Extension* extension) { |
78 // TODO(atwilson): Display a platform-appropriate notification here. | 78 // TODO(atwilson): Display a platform-appropriate notification here. |
79 // http://crbug.com/74970 | 79 // http://crbug.com/74970 |
80 } | 80 } |
81 | 81 |
82 string16 BackgroundModeManager::GetPreferencesMenuLabel() { | 82 string16 BackgroundModeManager::GetPreferencesMenuLabel() { |
83 return l10n_util::GetStringUTF16(IDS_OPTIONS); | 83 return l10n_util::GetStringUTF16(IDS_OPTIONS); |
84 } | 84 } |
OLD | NEW |