| OLD | NEW |
| 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 Loading... |
| 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 | |
| OLD | NEW |