Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Side by Side Diff: trunk/src/ppapi/native_client/src/trusted/plugin/file_downloader.cc

Issue 406323003: Revert 284684 "Pepper: Delete FileDownloader in trusted plugin." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698