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

Unified Diff: extensions/browser/api/web_request/upload_data_presenter_unittest.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_unittest.cc
diff --git a/extensions/browser/api/web_request/upload_data_presenter_unittest.cc b/extensions/browser/api/web_request/upload_data_presenter_unittest.cc
index 548ad634bbb320117c0824976918442ca81e9962..4cbf5ce04977d4261ca81e21e03feb3b3691e18c 100644
--- a/extensions/browser/api/web_request/upload_data_presenter_unittest.cc
+++ b/extensions/browser/api/web_request/upload_data_presenter_unittest.cc
@@ -51,13 +51,13 @@ TEST(WebRequestUploadDataPresenterTest, RawData) {
const size_t block2_size = sizeof(block2) - 1;
// Expected output.
- std::unique_ptr<base::BinaryValue> expected_a(
- base::BinaryValue::CreateWithCopiedBuffer(block1, block1_size));
+ std::unique_ptr<base::Value> expected_a(
+ base::Value::CreateWithCopiedBuffer(block1, block1_size));
ASSERT_TRUE(expected_a.get() != NULL);
std::unique_ptr<base::Value> expected_b(new base::Value(kFilename));
ASSERT_TRUE(expected_b.get() != NULL);
- std::unique_ptr<base::BinaryValue> expected_c(
- base::BinaryValue::CreateWithCopiedBuffer(block2, block2_size));
+ std::unique_ptr<base::Value> expected_c(
+ base::Value::CreateWithCopiedBuffer(block2, block2_size));
ASSERT_TRUE(expected_c.get() != NULL);
base::ListValue expected_list;
« no previous file with comments | « extensions/browser/api/web_request/upload_data_presenter.cc ('k') | extensions/renderer/argument_spec_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698