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

Side by Side Diff: base/test/test_stub_android.cc

Issue 9706022: Build Android's MessagePumpForUI by upstreaming SystemMessageHandler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch Created 8 years, 9 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
« no previous file with comments | « base/message_pump_android.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <stdarg.h> 5 #include <stdarg.h>
6 #include <string.h> 6 #include <string.h>
7 7
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/singleton.h" 10 #include "base/memory/singleton.h"
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 171
172 PathService::RegisterProvider(&PathTestProviderAndroid, base::DIR_MODULE, 172 PathService::RegisterProvider(&PathTestProviderAndroid, base::DIR_MODULE,
173 base::DIR_MODULE + 1); 173 base::DIR_MODULE + 1);
174 PathService::RegisterProvider(&PathTestProviderAndroid, base::DIR_CACHE, 174 PathService::RegisterProvider(&PathTestProviderAndroid, base::DIR_CACHE,
175 base::DIR_CACHE + 1); 175 base::DIR_CACHE + 1);
176 PathService::RegisterProvider(&PathTestProviderAndroid, 176 PathService::RegisterProvider(&PathTestProviderAndroid,
177 base::DIR_ANDROID_APP_DATA, base::DIR_ANDROID_APP_DATA + 1); 177 base::DIR_ANDROID_APP_DATA, base::DIR_ANDROID_APP_DATA + 1);
178 178
179 MessageLoop::InitMessagePumpForUIFactory(&CreateMessagePumpForUIStub); 179 MessageLoop::InitMessagePumpForUIFactory(&CreateMessagePumpForUIStub);
180 } 180 }
181
182 namespace base {
183
184 // TODO(michaelbai): The below MessagePumpForUI were added because we excluded
185 // message_pump_android.{h|cc} which require JNI to compile. Remove them when
186 // those 2 files added.
187 MessagePumpForUI::MessagePumpForUI()
188 : state_(NULL) {
189 }
190
191 MessagePumpForUI::~MessagePumpForUI() {}
192
193 void MessagePumpForUI::Run(Delegate* delegate) {}
194
195 void MessagePumpForUI::Start(Delegate* delegate) {}
196
197 void MessagePumpForUI::Quit() {}
198
199 void MessagePumpForUI::ScheduleWork() {}
200
201 void MessagePumpForUI::ScheduleDelayedWork(const TimeTicks& delayed_work_time) {
202 }
203
204 } // namespace base
OLDNEW
« no previous file with comments | « base/message_pump_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698