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

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

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 <stddef.h>
8
7 #include <vector> 9 #include <vector>
8 10
11 #include "base/macros.h"
9 #include "base/path_service.h" 12 #include "base/path_service.h"
10 #include "base/strings/string_split.h" 13 #include "base/strings/string_split.h"
11 #include "chrome/browser/browser_process.h" 14 #include "chrome/browser/browser_process.h"
12 #include "chrome/browser/component_updater/pnacl_component_installer.h" 15 #include "chrome/browser/component_updater/pnacl_component_installer.h"
13 #if defined(ENABLE_EXTENSIONS) 16 #if defined(ENABLE_EXTENSIONS)
14 #include "chrome/browser/extensions/extension_service.h" 17 #include "chrome/browser/extensions/extension_service.h"
15 #endif 18 #endif
16 #include "chrome/browser/nacl_host/nacl_infobar_delegate.h" 19 #include "chrome/browser/nacl_host/nacl_infobar_delegate.h"
17 #include "chrome/browser/profiles/profile.h" 20 #include "chrome/browser/profiles/profile.h"
18 #include "chrome/browser/profiles/profile_manager.h" 21 #include "chrome/browser/profiles/profile_manager.h"
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 const base::FilePath& profile_directory) { 244 const base::FilePath& profile_directory) {
242 // Get the profile associated with the renderer. 245 // Get the profile associated with the renderer.
243 Profile* profile = profile_manager_->GetProfileByPath(profile_directory); 246 Profile* profile = profile_manager_->GetProfileByPath(profile_directory);
244 DCHECK(profile); 247 DCHECK(profile);
245 scoped_refptr<extensions::InfoMap> extension_info_map = 248 scoped_refptr<extensions::InfoMap> extension_info_map =
246 extensions::ExtensionSystem::Get(profile)->info_map(); 249 extensions::ExtensionSystem::Get(profile)->info_map();
247 DCHECK(extension_info_map.get()); 250 DCHECK(extension_info_map.get());
248 return extension_info_map; 251 return extension_info_map;
249 } 252 }
250 #endif 253 #endif
OLDNEW
« no previous file with comments | « chrome/browser/nacl_host/nacl_browser_delegate_impl.h ('k') | chrome/browser/nacl_host/nacl_infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698