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

Side by Side Diff: trunk/src/content/test/browser_test_message_pump_android.h

Issue 16897005: Revert 206507 "Move message_pump to base/message_loop." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 6 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) 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 CONTENT_TEST_BROWSER_TEST_MESSAGE_PUMP_ANDROID_ 5 #ifndef CONTENT_TEST_BROWSER_TEST_MESSAGE_PUMP_ANDROID_
6 #define CONTENT_TEST_BROWSER_TEST_MESSAGE_PUMP_ANDROID_ 6 #define CONTENT_TEST_BROWSER_TEST_MESSAGE_PUMP_ANDROID_
7 7
8 #include "base/android/jni_android.h" 8 #include "base/android/jni_android.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/message_loop/message_pump_android.h" 10 #include "base/message_pump_android.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 // MessgePump to be used for content browsertests on Android. 14 // MessgePump to be used for content browsertests on Android.
15 // This overrides the default ui message pump to allow nested loops. 15 // This overrides the default ui message pump to allow nested loops.
16 class BrowserTestMessagePumpAndroid : public base::MessagePumpForUI { 16 class BrowserTestMessagePumpAndroid : public base::MessagePumpForUI {
17 public: 17 public:
18 BrowserTestMessagePumpAndroid(); 18 BrowserTestMessagePumpAndroid();
19 19
20 virtual void Run(Delegate* delegate) OVERRIDE; 20 virtual void Run(Delegate* delegate) OVERRIDE;
(...skipping 14 matching lines...) Expand all
35 struct RunState; 35 struct RunState;
36 36
37 RunState* state_; 37 RunState* state_;
38 38
39 DISALLOW_COPY_AND_ASSIGN(BrowserTestMessagePumpAndroid); 39 DISALLOW_COPY_AND_ASSIGN(BrowserTestMessagePumpAndroid);
40 }; 40 };
41 41
42 } // namespace content 42 } // namespace content
43 43
44 #endif // CONTENT_TEST_BROWSER_TEST_MESSAGE_PUMP_ANDROID_ 44 #endif // CONTENT_TEST_BROWSER_TEST_MESSAGE_PUMP_ANDROID_
OLDNEW
« no previous file with comments | « trunk/src/content/shell/shell_application_mac.h ('k') | trunk/src/net/proxy/proxy_config_service_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698