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

Side by Side Diff: google_apis/drive/drive_api_requests_unittest.cc

Issue 625293003: replace OVERRIDE and FINAL with override and final in google_apis/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: another rebase on master Created 6 years, 2 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
« no previous file with comments | « google_apis/drive/drive_api_requests.h ('k') | google_apis/drive/dummy_auth_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/files/file_path.h" 6 #include "base/files/file_path.h"
7 #include "base/files/file_util.h" 7 #include "base/files/file_util.h"
8 #include "base/files/scoped_temp_dir.h" 8 #include "base/files/scoped_temp_dir.h"
9 #include "base/json/json_reader.h" 9 #include "base/json/json_reader.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 out->append(*content); 57 out->append(*content);
58 } 58 }
59 59
60 } // namespace 60 } // namespace
61 61
62 class DriveApiRequestsTest : public testing::Test { 62 class DriveApiRequestsTest : public testing::Test {
63 public: 63 public:
64 DriveApiRequestsTest() { 64 DriveApiRequestsTest() {
65 } 65 }
66 66
67 virtual void SetUp() OVERRIDE { 67 virtual void SetUp() override {
68 request_context_getter_ = new net::TestURLRequestContextGetter( 68 request_context_getter_ = new net::TestURLRequestContextGetter(
69 message_loop_.message_loop_proxy()); 69 message_loop_.message_loop_proxy());
70 70
71 request_sender_.reset(new RequestSender(new DummyAuthService, 71 request_sender_.reset(new RequestSender(new DummyAuthService,
72 request_context_getter_.get(), 72 request_context_getter_.get(),
73 message_loop_.message_loop_proxy(), 73 message_loop_.message_loop_proxy(),
74 kTestUserAgent)); 74 kTestUserAgent));
75 75
76 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); 76 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
77 77
(...skipping 1768 matching lines...) Expand 10 before | Expand all | Expand 10 after
1846 expected.reset(base::JSONReader::Read( 1846 expected.reset(base::JSONReader::Read(
1847 "{\"role\":\"writer\", \"type\":\"domain\",\"value\":\"example.com\"}")); 1847 "{\"role\":\"writer\", \"type\":\"domain\",\"value\":\"example.com\"}"));
1848 ASSERT_TRUE(expected); 1848 ASSERT_TRUE(expected);
1849 1849
1850 result.reset(base::JSONReader::Read(http_request_.content)); 1850 result.reset(base::JSONReader::Read(http_request_.content));
1851 EXPECT_TRUE(http_request_.has_content); 1851 EXPECT_TRUE(http_request_.has_content);
1852 EXPECT_TRUE(base::Value::Equals(expected.get(), result.get())); 1852 EXPECT_TRUE(base::Value::Equals(expected.get(), result.get()));
1853 } 1853 }
1854 1854
1855 } // namespace google_apis 1855 } // namespace google_apis
OLDNEW
« no previous file with comments | « google_apis/drive/drive_api_requests.h ('k') | google_apis/drive/dummy_auth_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698