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

Side by Side Diff: chrome/browser/nacl_host/nacl_browser_delegate_impl.cc

Issue 511473002: Remove implicit conversions from scoped_refptr to T* in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move download out Created 6 years, 3 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/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
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
OLDNEW
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/browser/policy/cloud/user_policy_signin_service_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698