| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "app/os_exchange_data.h" | 5 #include "app/os_exchange_data.h" |
| 6 | 6 |
| 7 #include "base/pickle.h" | 7 #include "base/pickle.h" |
| 8 #include "googleurl/src/gurl.h" | 8 #include "googleurl/src/gurl.h" |
| 9 | 9 |
| 10 OSExchangeData::OSExchangeData() : provider_(CreateProvider()) { | 10 OSExchangeData::OSExchangeData() : provider_(CreateProvider()) { |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 } | 121 } |
| 122 | 122 |
| 123 bool OSExchangeData::GetFileContents(std::wstring* filename, | 123 bool OSExchangeData::GetFileContents(std::wstring* filename, |
| 124 std::string* file_contents) const { | 124 std::string* file_contents) const { |
| 125 return provider_->GetFileContents(filename, file_contents); | 125 return provider_->GetFileContents(filename, file_contents); |
| 126 } | 126 } |
| 127 | 127 |
| 128 bool OSExchangeData::GetHtml(std::wstring* html, GURL* base_url) const { | 128 bool OSExchangeData::GetHtml(std::wstring* html, GURL* base_url) const { |
| 129 return provider_->GetHtml(html, base_url); | 129 return provider_->GetHtml(html, base_url); |
| 130 } | 130 } |
| 131 |
| 132 void OSExchangeData::SetDownloadFileInfo(DownloadFileInfo* download) { |
| 133 return provider_->SetDownloadFileInfo(download); |
| 134 } |
| 131 #endif | 135 #endif |
| OLD | NEW |