Home
last modified time | relevance | path

Searched refs:js_backend (Results 1 – 3 of 3) sorted by relevance

/external/chromium/chrome/browser/sync/
Dprofile_sync_service_unittest.cc166 JsFrontend* js_backend = service_->GetJsFrontend(); in TEST_F() local
167 js_backend->AddHandler(&event_handler); in TEST_F()
171 js_backend->RemoveHandler(&event_handler); in TEST_F()
197 JsFrontend* js_backend = service_->GetJsFrontend(); in TEST_F() local
198 js_backend->AddHandler(&event_handler); in TEST_F()
212 js_backend->RemoveHandler(&event_handler); in TEST_F()
246 JsFrontend* js_backend = service_->GetJsFrontend(); in TEST_F() local
249 js_backend->ProcessMessage("notRepliedTo", args3, &event_handler); in TEST_F()
252 js_backend->ProcessMessage("delayTestMessage2", args2, &event_handler); in TEST_F()
254 js_backend->AddHandler(&event_handler); in TEST_F()
[all …]
DREADME.js26 JsBackend instance (js_backend.h), which also has a ProcessMessage()
/external/chromium/chrome/browser/sync/engine/
Dsyncapi_unittest.cc794 browser_sync::JsBackend* js_backend = sync_manager_.GetJsBackend(); in TEST_F() local
795 EXPECT_EQ(NULL, js_backend->GetParentJsEventRouter()); in TEST_F()
796 js_backend->SetParentJsEventRouter(&event_router); in TEST_F()
797 EXPECT_EQ(&event_router, js_backend->GetParentJsEventRouter()); in TEST_F()
798 js_backend->RemoveParentJsEventRouter(); in TEST_F()
799 EXPECT_EQ(NULL, js_backend->GetParentJsEventRouter()); in TEST_F()
805 browser_sync::JsBackend* js_backend = sync_manager_.GetJsBackend(); in TEST_F() local
810 js_backend->ProcessMessage("unknownMessage", in TEST_F()
812 js_backend->ProcessMessage("getNotificationState", in TEST_F()
827 js_backend->SetParentJsEventRouter(&event_router); in TEST_F()
[all …]