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

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

Issue 797183005: Add a mimeHandler extension API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@streams-lifetime
Patch Set: rebase Created 5 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
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 "base/files/file_path.h" 5 #include "base/files/file_path.h"
6 #include "base/lazy_instance.h" 6 #include "base/lazy_instance.h"
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "chrome/browser/extensions/extension_service.h" 9 #include "chrome/browser/extensions/extension_service.h"
10 #include "chrome/browser/extensions/plugin_manager.h" 10 #include "chrome/browser/extensions/plugin_manager.h"
11 #include "chrome/browser/plugins/chrome_plugin_service_filter.h" 11 #include "chrome/browser/plugins/chrome_plugin_service_filter.h"
12 #include "chrome/browser/profiles/profile.h" 12 #include "chrome/browser/profiles/profile.h"
13 #include "chrome/common/chrome_paths.h" 13 #include "chrome/common/chrome_paths.h"
14 #include "chrome/common/extensions/api/plugins/plugins_handler.h" 14 #include "chrome/common/extensions/api/plugins/plugins_handler.h"
15 #include "chrome/common/extensions/manifest_handlers/mime_types_handler.h"
16 #include "content/public/browser/plugin_service.h" 15 #include "content/public/browser/plugin_service.h"
17 #include "content/public/common/pepper_plugin_info.h" 16 #include "content/public/common/pepper_plugin_info.h"
18 #include "extensions/browser/extension_registry.h" 17 #include "extensions/browser/extension_registry.h"
19 #include "extensions/common/extension.h" 18 #include "extensions/common/extension.h"
19 #include "extensions/common/manifest_handlers/mime_types_handler.h"
20 #include "url/gurl.h" 20 #include "url/gurl.h"
21 21
22 #if !defined(DISABLE_NACL) 22 #if !defined(DISABLE_NACL)
23 #include "components/nacl/common/nacl_constants.h" 23 #include "components/nacl/common/nacl_constants.h"
24 #endif 24 #endif
25 25
26 using content::PluginService; 26 using content::PluginService;
27 27
28 namespace extensions { 28 namespace extensions {
29 29
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 iter != nacl_module_list_.end(); ++iter) { 225 iter != nacl_module_list_.end(); ++iter) {
226 if (iter->url == url) 226 if (iter->url == url)
227 return iter; 227 return iter;
228 } 228 }
229 return nacl_module_list_.end(); 229 return nacl_module_list_.end();
230 } 230 }
231 231
232 #endif // !defined(DISABLE_NACL) 232 #endif // !defined(DISABLE_NACL)
233 233
234 } // namespace extensions 234 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698