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

Side by Side Diff: webkit/plugins/npapi/test/plugin_schedule_timer_test.h

Issue 6503001: clang: Fix several -Woverloaded-virtual warnings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_SCHEDULE_TIMER_TEST_H 5 #ifndef WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_SCHEDULE_TIMER_TEST_H
6 #define WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_SCHEDULE_TIMER_TEST_H 6 #define WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_SCHEDULE_TIMER_TEST_H
7 7
8 #include "base/time.h" 8 #include "base/time.h"
9 #include "webkit/plugins/npapi/test/plugin_test.h" 9 #include "webkit/plugins/npapi/test/plugin_test.h"
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 int num_received_events_; 49 int num_received_events_;
50 50
51 // Set of events that have been received (by index). 51 // Set of events that have been received (by index).
52 bool received_events_[kNumEvents]; 52 bool received_events_[kNumEvents];
53 53
54 // Time of initial event. 54 // Time of initial event.
55 base::Time start_time_; 55 base::Time start_time_;
56 56
57 // Returns index of matching unreceived event or -1 if not found. 57 // Returns index of matching unreceived event or -1 if not found.
58 int FindUnreceivedEvent(int time, uint32 timer_id); 58 int FindUnreceivedEvent(int time, uint32 timer_id);
59 void HandleEvent(int event_index); 59 void HandleEventIndex(int event_index);
60 }; 60 };
61 61
62 } // namespace NPAPIClient 62 } // namespace NPAPIClient
63 63
64 #endif // WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_SCHEDULE_TIMER_TEST_H 64 #endif // WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_SCHEDULE_TIMER_TEST_H
OLDNEW
« no previous file with comments | « net/http/http_stream_factory_unittest.cc ('k') | webkit/plugins/npapi/test/plugin_schedule_timer_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698