OLD | NEW |
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/nacl_host/nacl_browser_delegate_impl.h" | 5 #include "chrome/browser/nacl_host/nacl_browser_delegate_impl.h" |
6 | 6 |
7 #include "base/path_service.h" | 7 #include "base/path_service.h" |
8 #include "base/strings/string_split.h" | 8 #include "base/strings/string_split.h" |
9 #include "chrome/browser/browser_process.h" | 9 #include "chrome/browser/browser_process.h" |
10 #include "chrome/browser/component_updater/pnacl/pnacl_component_installer.h" | 10 #include "chrome/browser/component_updater/pnacl/pnacl_component_installer.h" |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 } | 221 } |
222 | 222 |
223 #if defined(ENABLE_EXTENSIONS) | 223 #if defined(ENABLE_EXTENSIONS) |
224 scoped_refptr<extensions::InfoMap> NaClBrowserDelegateImpl::GetExtensionInfoMap( | 224 scoped_refptr<extensions::InfoMap> NaClBrowserDelegateImpl::GetExtensionInfoMap( |
225 const base::FilePath& profile_directory) { | 225 const base::FilePath& profile_directory) { |
226 // Get the profile associated with the renderer. | 226 // Get the profile associated with the renderer. |
227 Profile* profile = profile_manager_->GetProfileByPath(profile_directory); | 227 Profile* profile = profile_manager_->GetProfileByPath(profile_directory); |
228 DCHECK(profile); | 228 DCHECK(profile); |
229 scoped_refptr<extensions::InfoMap> extension_info_map = | 229 scoped_refptr<extensions::InfoMap> extension_info_map = |
230 extensions::ExtensionSystem::Get(profile)->info_map(); | 230 extensions::ExtensionSystem::Get(profile)->info_map(); |
231 DCHECK(extension_info_map); | 231 DCHECK(extension_info_map.get()); |
232 return extension_info_map; | 232 return extension_info_map; |
233 } | 233 } |
234 #endif | 234 #endif |
OLD | NEW |