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

Side by Side Diff: content/public/test/nested_message_pump_android.cc

Issue 18154002: Use a direct include of time headers in content/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 #include "content/public/test/nested_message_pump_android.h" 5 #include "content/public/test/nested_message_pump_android.h"
6 6
7 #include "base/android/jni_android.h" 7 #include "base/android/jni_android.h"
8 #include "base/android/scoped_java_ref.h" 8 #include "base/android/scoped_java_ref.h"
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/synchronization/waitable_event.h" 11 #include "base/synchronization/waitable_event.h"
12 #include "base/time.h" 12 #include "base/time/time.h"
13 #include "jni/NestedSystemMessageHandler_jni.h" 13 #include "jni/NestedSystemMessageHandler_jni.h"
14 14
15 namespace { 15 namespace {
16 16
17 base::LazyInstance<base::android::ScopedJavaGlobalRef<jobject> > 17 base::LazyInstance<base::android::ScopedJavaGlobalRef<jobject> >
18 g_message_handler_obj = LAZY_INSTANCE_INITIALIZER; 18 g_message_handler_obj = LAZY_INSTANCE_INITIALIZER;
19 19
20 } // namespace 20 } // namespace
21 21
22 22
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 155
156 base::MessagePumpForUI::ScheduleDelayedWork(delayed_work_time); 156 base::MessagePumpForUI::ScheduleDelayedWork(delayed_work_time);
157 } 157 }
158 158
159 // static 159 // static
160 bool NestedMessagePumpAndroid::RegisterJni(JNIEnv* env) { 160 bool NestedMessagePumpAndroid::RegisterJni(JNIEnv* env) {
161 return RegisterNativesImpl(env); 161 return RegisterNativesImpl(env);
162 } 162 }
163 163
164 } // namespace content 164 } // namespace content
OLDNEW
« no previous file with comments | « content/public/test/mock_render_process_host.cc ('k') | content/public/test/render_view_fake_resources_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698