| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/browsing_data/local_data_container.h" | 5 #include "chrome/browser/browsing_data/local_data_container.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/memory/linked_ptr.h" | |
| 9 #include "chrome/browser/browsing_data/browsing_data_channel_id_helper.h" | 8 #include "chrome/browser/browsing_data/browsing_data_channel_id_helper.h" |
| 10 #include "chrome/browser/browsing_data/browsing_data_flash_lso_helper.h" | 9 #include "chrome/browser/browsing_data/browsing_data_flash_lso_helper.h" |
| 11 #include "chrome/browser/browsing_data/cookies_tree_model.h" | 10 #include "chrome/browser/browsing_data/cookies_tree_model.h" |
| 12 #include "net/cookies/canonical_cookie.h" | 11 #include "net/cookies/canonical_cookie.h" |
| 13 | 12 |
| 14 /////////////////////////////////////////////////////////////////////////////// | 13 /////////////////////////////////////////////////////////////////////////////// |
| 15 // LocalDataContainer, public: | 14 // LocalDataContainer, public: |
| 16 | 15 |
| 17 LocalDataContainer::LocalDataContainer( | 16 LocalDataContainer::LocalDataContainer( |
| 18 scoped_refptr<BrowsingDataCookieHelper> cookie_helper, | 17 scoped_refptr<BrowsingDataCookieHelper> cookie_helper, |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 DCHECK(model_); | 242 DCHECK(model_); |
| 244 model_->PopulateFlashLSOInfo(this); | 243 model_->PopulateFlashLSOInfo(this); |
| 245 } | 244 } |
| 246 | 245 |
| 247 void LocalDataContainer::OnMediaLicenseInfoLoaded( | 246 void LocalDataContainer::OnMediaLicenseInfoLoaded( |
| 248 const MediaLicenseInfoList& media_license_info) { | 247 const MediaLicenseInfoList& media_license_info) { |
| 249 media_license_info_list_ = media_license_info; | 248 media_license_info_list_ = media_license_info; |
| 250 DCHECK(model_); | 249 DCHECK(model_); |
| 251 model_->PopulateMediaLicenseInfo(this); | 250 model_->PopulateMediaLicenseInfo(this); |
| 252 } | 251 } |
| OLD | NEW |