Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Side by Side Diff: chrome/browser/background/background_mode_manager_mac.mm

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 6 Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/background/background_mode_manager_gtk.cc ('k') | chrome/browser/background/background_mode_manager_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698