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

Side by Side Diff: net/spdy/spdy_session_test_util.h

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/spdy/spdy_session_pool_unittest.cc ('k') | net/spdy/spdy_session_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) 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 #ifndef NET_SPDY_SPDY_SESSION_TEST_UTIL_H_ 5 #ifndef NET_SPDY_SPDY_SESSION_TEST_UTIL_H_
6 #define NET_SPDY_SPDY_SESSION_TEST_UTIL_H_ 6 #define NET_SPDY_SPDY_SESSION_TEST_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 11 matching lines...) Expand all
22 // executed that were posted by the function named by |function_name|, located 22 // executed that were posted by the function named by |function_name|, located
23 // in the file |file_name|. 23 // in the file |file_name|.
24 // Example: 24 // Example:
25 // file_name = "foo.cc" 25 // file_name = "foo.cc"
26 // function = "DoFoo" 26 // function = "DoFoo"
27 SpdySessionTestTaskObserver(const std::string& file_name, 27 SpdySessionTestTaskObserver(const std::string& file_name,
28 const std::string& function_name); 28 const std::string& function_name);
29 virtual ~SpdySessionTestTaskObserver(); 29 virtual ~SpdySessionTestTaskObserver();
30 30
31 // Implements MessageLoop::TaskObserver. 31 // Implements MessageLoop::TaskObserver.
32 virtual void WillProcessTask(const base::PendingTask& pending_task) OVERRIDE; 32 virtual void WillProcessTask(const base::PendingTask& pending_task) override;
33 virtual void DidProcessTask(const base::PendingTask& pending_task) OVERRIDE; 33 virtual void DidProcessTask(const base::PendingTask& pending_task) override;
34 34
35 // Returns the number of tasks posted by the given function and file. 35 // Returns the number of tasks posted by the given function and file.
36 uint16 executed_count() const { return executed_count_; } 36 uint16 executed_count() const { return executed_count_; }
37 37
38 private: 38 private:
39 uint16 executed_count_; 39 uint16 executed_count_;
40 std::string file_name_; 40 std::string file_name_;
41 std::string function_name_; 41 std::string function_name_;
42 }; 42 };
43 43
44 } // namespace net 44 } // namespace net
45 45
46 #endif // NET_SPDY_SPDY_SESSION_TEST_UTIL_H_ 46 #endif // NET_SPDY_SPDY_SESSION_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_session_pool_unittest.cc ('k') | net/spdy/spdy_session_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698