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

Side by Side Diff: chrome/browser/extensions/extension_util.cc

Issue 46853004: Move ExtensionPrefs and friends to extensions/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync and update app_shell Created 6 years, 11 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "chrome/browser/extensions/extension_util.h" 5 #include "chrome/browser/extensions/extension_util.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "chrome/browser/extensions/extension_prefs.h"
9 #include "chrome/browser/extensions/extension_service.h" 8 #include "chrome/browser/extensions/extension_service.h"
10 #include "chrome/browser/extensions/extension_sync_service.h" 9 #include "chrome/browser/extensions/extension_sync_service.h"
11 #include "chrome/browser/extensions/extension_system.h" 10 #include "chrome/browser/extensions/extension_system.h"
12 #include "chrome/common/chrome_switches.h" 11 #include "chrome/common/chrome_switches.h"
13 #include "chrome/common/extensions/sync_helper.h" 12 #include "chrome/common/extensions/sync_helper.h"
14 #include "content/public/browser/site_instance.h" 13 #include "content/public/browser/site_instance.h"
14 #include "extensions/browser/extension_prefs.h"
15 #include "extensions/browser/extension_registry.h" 15 #include "extensions/browser/extension_registry.h"
16 #include "extensions/common/extension.h" 16 #include "extensions/common/extension.h"
17 #include "extensions/common/manifest.h" 17 #include "extensions/common/manifest.h"
18 #include "extensions/common/manifest_handlers/incognito_info.h" 18 #include "extensions/common/manifest_handlers/incognito_info.h"
19 19
20 using extensions::Extension; 20 using extensions::Extension;
21 using extensions::ExtensionPrefs; 21 using extensions::ExtensionPrefs;
22 using extensions::ExtensionRegistry; 22 using extensions::ExtensionRegistry;
23 23
24 namespace extension_util { 24 namespace extension_util {
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 DCHECK(extension); 175 DCHECK(extension);
176 DCHECK(extension_system); 176 DCHECK(extension_system);
177 177
178 if (!extension->is_ephemeral()) 178 if (!extension->is_ephemeral())
179 return false; 179 return false;
180 180
181 return IsExtensionIdle(extension->id(), extension_system); 181 return IsExtensionIdle(extension->id(), extension_system);
182 } 182 }
183 183
184 } // namespace extension_util 184 } // namespace extension_util
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_toolbar_model_factory.cc ('k') | chrome/browser/extensions/install_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698