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 "ppapi/native_client/src/trusted/plugin/file_downloader.h" | 5 #include "ppapi/native_client/src/trusted/plugin/file_downloader.h" |
6 | 6 |
7 #include <stdio.h> | 7 #include <stdio.h> |
8 #include <string.h> | 8 #include <string.h> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 pp::Var headers = url_response_.GetHeaders(); | 170 pp::Var headers = url_response_.GetHeaders(); |
171 if (!headers.is_string()) { | 171 if (!headers.is_string()) { |
172 PLUGIN_PRINTF(( | 172 PLUGIN_PRINTF(( |
173 "FileDownloader::GetResponseHeaders (headers are not a string)\n")); | 173 "FileDownloader::GetResponseHeaders (headers are not a string)\n")); |
174 return nacl::string(); | 174 return nacl::string(); |
175 } | 175 } |
176 return headers.AsString(); | 176 return headers.AsString(); |
177 } | 177 } |
178 | 178 |
179 } // namespace plugin | 179 } // namespace plugin |
OLD | NEW |