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

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

Issue 2783813002: Move ChromeRequirementsChecker to //extensions as a PreloadCheck (Closed)
Patch Set: rebase? Created 3 years, 8 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 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/plugin_manager.h"
6
5 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
6 #include "base/lazy_instance.h" 8 #include "base/lazy_instance.h"
7 #include "base/path_service.h" 9 #include "base/path_service.h"
8 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
9 #include "chrome/browser/extensions/extension_service.h" 11 #include "chrome/browser/extensions/extension_service.h"
10 #include "chrome/browser/extensions/plugin_manager.h"
11 #include "chrome/browser/plugins/chrome_plugin_service_filter.h" 12 #include "chrome/browser/plugins/chrome_plugin_service_filter.h"
12 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
13 #include "chrome/common/chrome_paths.h" 14 #include "chrome/common/chrome_paths.h"
14 #include "chrome/common/extensions/api/plugins/plugins_handler.h"
15 #include "content/public/browser/plugin_service.h" 15 #include "content/public/browser/plugin_service.h"
16 #include "content/public/common/pepper_plugin_info.h" 16 #include "content/public/common/pepper_plugin_info.h"
17 #include "extensions/browser/extension_registry.h" 17 #include "extensions/browser/extension_registry.h"
18 #include "extensions/common/extension.h" 18 #include "extensions/common/extension.h"
19 #include "extensions/common/manifest_handlers/mime_types_handler.h" 19 #include "extensions/common/manifest_handlers/mime_types_handler.h"
20 #include "extensions/common/manifest_handlers/plugins_handler.h"
20 #include "url/gurl.h" 21 #include "url/gurl.h"
21 22
22 #if !defined(DISABLE_NACL) 23 #if !defined(DISABLE_NACL)
23 #include "components/nacl/common/nacl_constants.h" 24 #include "components/nacl/common/nacl_constants.h"
24 #endif 25 #endif
25 26
26 using content::PluginService; 27 using content::PluginService;
27 28
28 namespace extensions { 29 namespace extensions {
29 30
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 iter != nacl_module_list_.end(); ++iter) { 191 iter != nacl_module_list_.end(); ++iter) {
191 if (iter->url == url) 192 if (iter->url == url)
192 return iter; 193 return iter;
193 } 194 }
194 return nacl_module_list_.end(); 195 return nacl_module_list_.end();
195 } 196 }
196 197
197 #endif // !defined(DISABLE_NACL) 198 #endif // !defined(DISABLE_NACL)
198 199
199 } // namespace extensions 200 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_service_unittest.cc ('k') | chrome/browser/extensions/requirements_checker_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698