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

Side by Side Diff: chrome/browser/background/background_mode_manager.cc

Issue 469993006: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <algorithm> 5 #include <algorithm>
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/base_paths.h" 9 #include "base/base_paths.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 20 matching lines...) Expand all
31 #include "chrome/browser/ui/browser_finder.h" 31 #include "chrome/browser/ui/browser_finder.h"
32 #include "chrome/browser/ui/browser_list.h" 32 #include "chrome/browser/ui/browser_list.h"
33 #include "chrome/browser/ui/chrome_pages.h" 33 #include "chrome/browser/ui/chrome_pages.h"
34 #include "chrome/browser/ui/extensions/application_launch.h" 34 #include "chrome/browser/ui/extensions/application_launch.h"
35 #include "chrome/browser/ui/host_desktop.h" 35 #include "chrome/browser/ui/host_desktop.h"
36 #include "chrome/common/chrome_constants.h" 36 #include "chrome/common/chrome_constants.h"
37 #include "chrome/common/chrome_switches.h" 37 #include "chrome/common/chrome_switches.h"
38 #include "chrome/common/extensions/extension_constants.h" 38 #include "chrome/common/extensions/extension_constants.h"
39 #include "chrome/common/extensions/manifest_url_handler.h" 39 #include "chrome/common/extensions/manifest_url_handler.h"
40 #include "chrome/common/pref_names.h" 40 #include "chrome/common/pref_names.h"
41 #include "chrome/grit/chromium_strings.h"
42 #include "chrome/grit/generated_resources.h"
41 #include "content/public/browser/notification_service.h" 43 #include "content/public/browser/notification_service.h"
42 #include "content/public/browser/user_metrics.h" 44 #include "content/public/browser/user_metrics.h"
43 #include "extensions/browser/extension_system.h" 45 #include "extensions/browser/extension_system.h"
44 #include "extensions/common/extension.h" 46 #include "extensions/common/extension.h"
45 #include "extensions/common/permissions/permission_set.h" 47 #include "extensions/common/permissions/permission_set.h"
46 #include "grit/chrome_unscaled_resources.h" 48 #include "grit/chrome_unscaled_resources.h"
47 #include "grit/chromium_strings.h"
48 #include "grit/generated_resources.h"
49 #include "ui/base/l10n/l10n_util.h" 49 #include "ui/base/l10n/l10n_util.h"
50 #include "ui/base/resource/resource_bundle.h" 50 #include "ui/base/resource/resource_bundle.h"
51 51
52 using base::UserMetricsAction; 52 using base::UserMetricsAction;
53 using extensions::Extension; 53 using extensions::Extension;
54 using extensions::UpdatedExtensionPermissionsInfo; 54 using extensions::UpdatedExtensionPermissionsInfo;
55 55
56 namespace { 56 namespace {
57 const int kInvalidExtensionIndex = -1; 57 const int kInvalidExtensionIndex = -1;
58 } 58 }
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 } 799 }
800 } 800 }
801 return profile_it; 801 return profile_it;
802 } 802 }
803 803
804 bool BackgroundModeManager::IsBackgroundModePrefEnabled() const { 804 bool BackgroundModeManager::IsBackgroundModePrefEnabled() const {
805 PrefService* service = g_browser_process->local_state(); 805 PrefService* service = g_browser_process->local_state();
806 DCHECK(service); 806 DCHECK(service);
807 return service->GetBoolean(prefs::kBackgroundModeEnabled); 807 return service->GetBoolean(prefs::kBackgroundModeEnabled);
808 } 808 }
OLDNEW
« no previous file with comments | « chrome/browser/background/background_contents_service.cc ('k') | chrome/browser/background/background_mode_manager_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698