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

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

Issue 5998002: Revert "Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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) 2006-2008 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 "webkit/plugins/npapi/test/plugin_schedule_timer_test.h" 5 #include "webkit/glue/plugins/test/plugin_schedule_timer_test.h"
6 #include "webkit/plugins/npapi/test/plugin_client.h" 6 #include "webkit/glue/plugins/test/plugin_client.h"
7 7
8 using base::Time; 8 using base::Time;
9 9
10 namespace NPAPIClient { 10 namespace NPAPIClient {
11 11
12 // The times below are accurate but they are not tested against because it 12 // The times below are accurate but they are not tested against because it
13 // might make the test flakey. 13 // might make the test flakey.
14 ScheduleTimerTest::Event 14 ScheduleTimerTest::Event
15 ScheduleTimerTest::schedule_[ScheduleTimerTest::kNumEvents] = { 15 ScheduleTimerTest::schedule_[ScheduleTimerTest::kNumEvents] = {
16 { 0, -1, 0, 100, false, -1 }, // schedule 0 100ms no-repeat 16 { 0, -1, 0, 100, false, -1 }, // schedule 0 100ms no-repeat
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 } 107 }
108 108
109 // Schedule timer if present. 109 // Schedule timer if present.
110 if (event.scheduled_index >= 0) { 110 if (event.scheduled_index >= 0) {
111 timer_ids_[event.scheduled_index] = HostFunctions()->scheduletimer( 111 timer_ids_[event.scheduled_index] = HostFunctions()->scheduletimer(
112 id(), event.scheduled_interval, event.schedule_repeated, OnTimerHelper); 112 id(), event.scheduled_interval, event.schedule_repeated, OnTimerHelper);
113 } 113 }
114 } 114 }
115 115
116 } // namespace NPAPIClient 116 } // namespace NPAPIClient
OLDNEW
« no previous file with comments | « webkit/glue/plugins/test/plugin_schedule_timer_test.h ('k') | webkit/glue/plugins/test/plugin_setup_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698