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

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

Issue 3122029: FBTF: Remove unnecessary STL #includes from src/webkit. (Closed)
Patch Set: Created 10 years, 4 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
OLDNEW
1 // Copyright (c) 2006-2008 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_GLUE_PLUGINS_TEST_PLUGIN_SCHEDULE_TIMER_TEST_H 5 #ifndef WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_SCHEDULE_TIMER_TEST_H
6 #define WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_SCHEDULE_TIMER_TEST_H 6 #define WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_SCHEDULE_TIMER_TEST_H
7 7
8 #include <vector>
9
10 #include "base/at_exit.h" 8 #include "base/at_exit.h"
11 #include "base/time.h" 9 #include "base/time.h"
12 #include "webkit/glue/plugins/test/plugin_test.h" 10 #include "webkit/glue/plugins/test/plugin_test.h"
13 11
14 namespace NPAPIClient { 12 namespace NPAPIClient {
15 13
16 // This class tests scheduling and unscheduling of timers using 14 // This class tests scheduling and unscheduling of timers using
17 // NPN_ScheduleTimer and NPN_UnscheduleTimer. 15 // NPN_ScheduleTimer and NPN_UnscheduleTimer.
18 class ScheduleTimerTest : public PluginTest { 16 class ScheduleTimerTest : public PluginTest {
19 public: 17 public:
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 base::Time start_time_; 59 base::Time start_time_;
62 60
63 // Returns index of matching unreceived event or -1 if not found. 61 // Returns index of matching unreceived event or -1 if not found.
64 int FindUnreceivedEvent(int time, uint32 timer_id); 62 int FindUnreceivedEvent(int time, uint32 timer_id);
65 void HandleEvent(int event_index); 63 void HandleEvent(int event_index);
66 }; 64 };
67 65
68 } // namespace NPAPIClient 66 } // namespace NPAPIClient
69 67
70 #endif // WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_SCHEDULE_TIMER_TEST_H 68 #endif // WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_SCHEDULE_TIMER_TEST_H
OLDNEW
« no previous file with comments | « webkit/glue/plugins/plugin_instance.h ('k') | webkit/glue/plugins/test/plugin_thread_async_call_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698