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

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

Issue 12211105: Move remaining non-test, non-Chrome-specific Prefs code to base/prefs/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments, merge to LKGR. Created 7 years, 10 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 | 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/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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/background/background_mode_manager.cc ('k') | chrome/browser/bookmarks/bookmark_prompt_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698