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

Side by Side Diff: net/base/prioritized_dispatcher_unittest.cc

Issue 623213004: replace OVERRIDE and FINAL with override and final in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo unwanted change in comment 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 | « net/base/network_config_watcher_mac.cc ('k') | net/base/priority_queue_unittest.cc » ('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) 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 <ctype.h> 5 #include <ctype.h>
6 #include <string> 6 #include <string>
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 void Finish() { 111 void Finish() {
112 CHECK(running_); 112 CHECK(running_);
113 running_ = false; 113 running_ = false;
114 log_->append(1u, '.'); 114 log_->append(1u, '.');
115 115
116 dispatcher_->OnJobFinished(); 116 dispatcher_->OnJobFinished();
117 } 117 }
118 118
119 // PriorityDispatch::Job interface 119 // PriorityDispatch::Job interface
120 virtual void Start() OVERRIDE { 120 virtual void Start() override {
121 EXPECT_FALSE(running_); 121 EXPECT_FALSE(running_);
122 handle_ = PrioritizedDispatcher::Handle(); 122 handle_ = PrioritizedDispatcher::Handle();
123 running_ = true; 123 running_ = true;
124 log_->append(1u, tag_); 124 log_->append(1u, tag_);
125 } 125 }
126 126
127 private: 127 private:
128 PrioritizedDispatcher* dispatcher_; 128 PrioritizedDispatcher* dispatcher_;
129 129
130 char tag_; 130 char tag_;
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 Prepare(limits); 560 Prepare(limits);
561 AddJob('a', IDLE); 561 AddJob('a', IDLE);
562 AddJob('b', IDLE); 562 AddJob('b', IDLE);
563 EXPECT_DEBUG_DEATH(dispatcher_->Cancel(handle), ""); 563 EXPECT_DEBUG_DEATH(dispatcher_->Cancel(handle), "");
564 } 564 }
565 #endif // GTEST_HAS_DEATH_TEST && !defined(NDEBUG) 565 #endif // GTEST_HAS_DEATH_TEST && !defined(NDEBUG)
566 566
567 } // namespace 567 } // namespace
568 568
569 } // namespace net 569 } // namespace net
OLDNEW
« no previous file with comments | « net/base/network_config_watcher_mac.cc ('k') | net/base/priority_queue_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698