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

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

Issue 8437002: Move BrowserThread to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A few updates. Created 9 years, 1 month 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 | Annotate | Revision Log
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/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/background_mode_manager.h" 7 #include "chrome/browser/background/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"
11 #include "chrome/common/pref_names.h" 11 #include "chrome/common/pref_names.h"
12 #include "content/public/browser/browser_thread.h" 12 #include "content/public/browser/browser_thread.h"
13 #include "grit/generated_resources.h" 13 #include "grit/generated_resources.h"
14 #include "ui/base/l10n/l10n_util.h" 14 #include "ui/base/l10n/l10n_util.h"
15 15
16 using content::BrowserThread;
17
16 namespace { 18 namespace {
17 19
18 class DisableLaunchOnStartupTask : public Task { 20 class DisableLaunchOnStartupTask : public Task {
19 public: 21 public:
20 virtual void Run(); 22 virtual void Run();
21 }; 23 };
22 24
23 class EnableLaunchOnStartupTask : public Task { 25 class EnableLaunchOnStartupTask : public Task {
24 public: 26 public:
25 virtual void Run(); 27 virtual void Run();
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 89
88 void BackgroundModeManager::DisplayAppInstalledNotification( 90 void BackgroundModeManager::DisplayAppInstalledNotification(
89 const Extension* extension) { 91 const Extension* extension) {
90 // TODO(atwilson): Display a platform-appropriate notification here. 92 // TODO(atwilson): Display a platform-appropriate notification here.
91 // http://crbug.com/74970 93 // http://crbug.com/74970
92 } 94 }
93 95
94 string16 BackgroundModeManager::GetPreferencesMenuLabel() { 96 string16 BackgroundModeManager::GetPreferencesMenuLabel() {
95 return l10n_util::GetStringUTF16(IDS_OPTIONS); 97 return l10n_util::GetStringUTF16(IDS_OPTIONS);
96 } 98 }
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