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

Unified Diff: extensions/browser/api/web_request/upload_data_presenter.cc

Issue 2799093006: Remove base::BinaryValue (Closed)
Patch Set: Rebase Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: extensions/browser/api/web_request/upload_data_presenter.cc
diff --git a/extensions/browser/api/web_request/upload_data_presenter.cc b/extensions/browser/api/web_request/upload_data_presenter.cc
index dfe9eda0220d32d57d2760ffbe9c65b70e683a7b..259865da69aa570cbe3a7c8dc410d96e35018f8b 100644
--- a/extensions/browser/api/web_request/upload_data_presenter.cc
+++ b/extensions/browser/api/web_request/upload_data_presenter.cc
@@ -16,7 +16,6 @@
#include "net/base/upload_file_element_reader.h"
#include "net/url_request/url_request.h"
-using base::BinaryValue;
using base::DictionaryValue;
using base::ListValue;
using base::Value;
@@ -90,7 +89,7 @@ std::unique_ptr<base::Value> RawDataPresenter::Result() {
void RawDataPresenter::FeedNextBytes(const char* bytes, size_t size) {
subtle::AppendKeyValuePair(keys::kRequestBodyRawBytesKey,
- BinaryValue::CreateWithCopiedBuffer(bytes, size),
+ Value::CreateWithCopiedBuffer(bytes, size),
list_.get());
}
« no previous file with comments | « extensions/browser/api/usb/usb_api.cc ('k') | extensions/browser/api/web_request/upload_data_presenter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698