Chromium Code Reviews| Index: chrome/browser/profiles/profile_io_data.cc |
| diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc |
| index 7d6f2a0fa55281ecb459a4eb5ccdba83955ef172..8a6d145e01dba3c32f560ac30319ec0ad148846d 100644 |
| --- a/chrome/browser/profiles/profile_io_data.cc |
| +++ b/chrome/browser/profiles/profile_io_data.cc |
| @@ -645,8 +645,10 @@ void ProfileIOData::SetUpJobFactoryDefaults( |
| DCHECK(set_protocol); |
| #if defined(OS_CHROMEOS) |
| if (!is_incognito()) { |
| + Profile* profile = reinterpret_cast<Profile*>(profile_params_->profile); |
|
hashimoto
2013/01/07 06:32:32
Please call IsValidProfile like chrome_network_del
Haruki Sato
2013/01/07 08:15:47
Done.
Thank you for the advice. As chatted offline
|
| + |
| set_protocol = job_factory->SetProtocolHandler( |
| - chrome::kDriveScheme, new drive::DriveProtocolHandler()); |
| + chrome::kDriveScheme, new drive::DriveProtocolHandler(profile)); |
| DCHECK(set_protocol); |
| } |
| #endif // defined(OS_CHROMEOS) |