Chromium Code Reviews| Index: chrome/browser/profiles/profile_impl_io_data.cc |
| diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc |
| index e5c2456471953dd7aae70c9a38436291beb9472c..b5fc25abc09bda64266e586b24eff7f8f5705a46 100644 |
| --- a/chrome/browser/profiles/profile_impl_io_data.cc |
| +++ b/chrome/browser/profiles/profile_impl_io_data.cc |
| @@ -211,9 +211,7 @@ ProfileImplIOData::Handle::GetIsolatedAppRequestContextGetter( |
| const FilePath& partition_path, |
| bool in_memory) const { |
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
| - // TODO(nasko): Check that the partition_path is not the same as the |
| - // base profile path. We expect isolated partition, which will never go |
| - // to the default profile path. |
|
Charlie Reis
2012/11/06 00:17:18
Please keep this comment (minus the TODO).
nasko
2012/11/06 01:21:52
Done.
|
| + CHECK(partition_path != profile_->GetPath()); |
| LazyInitialize(); |
| // Keep a map of request context getters, one per requested storage partition. |
| @@ -243,10 +241,7 @@ ProfileImplIOData::Handle::GetIsolatedMediaRequestContextGetter( |
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
| // We must have a non-default path, or this will act like the default media |
| // context. |
| - // |
| - // TODO(nasko): Check that the partition_path is not the same as the |
| - // base profile path. We expect isolated partition, which will never go |
| - // to the default profile path. |
|
Charlie Reis
2012/11/06 00:17:18
Same.
nasko
2012/11/06 01:21:52
Isn't the existing comment already doing similar j
|
| + CHECK(partition_path != profile_->GetPath()); |
| LazyInitialize(); |
| // Keep a map of request context getters, one per requested storage partition. |