Home
last modified time | relevance | path

Searched refs:JsArgList (Results 1 – 25 of 26) sorted by relevance

12

/external/chromium/chrome/browser/sync/
Djs_arg_list.cc12 JsArgList::JsArgList() : args_(new SharedListValue()) {} in JsArgList() function in browser_sync::JsArgList
14 JsArgList::JsArgList(const ListValue& args) in JsArgList() function in browser_sync::JsArgList
17 JsArgList::JsArgList(const std::vector<const Value*>& args) in JsArgList() function in browser_sync::JsArgList
20 JsArgList::~JsArgList() {} in ~JsArgList()
22 const ListValue& JsArgList::Get() const { in Get()
26 std::string JsArgList::ToString() const { in ToString()
32 JsArgList::SharedListValue::SharedListValue() {} in SharedListValue()
34 JsArgList::SharedListValue::SharedListValue(const ListValue& list_value) { in SharedListValue()
41 JsArgList::SharedListValue::SharedListValue( in SharedListValue()
49 const ListValue& JsArgList::SharedListValue::Get() const { in Get()
[all …]
Djs_sync_manager_observer.cc39 JsArgList(return_args), NULL); in OnChangesApplied()
48 JsArgList(return_args), NULL); in OnChangesComplete()
56 JsArgList(return_args), NULL); in OnSyncCycleCompleted()
64 JsArgList(return_args), NULL); in OnAuthError()
71 JsArgList(return_args), NULL); in OnUpdatedToken()
78 JsArgList(return_args), NULL); in OnPassphraseRequired()
82 parent_router_->RouteJsEvent("onPassphraseFailed", JsArgList(), NULL); in OnPassphraseFailed()
90 JsArgList(return_args), NULL); in OnPassphraseAccepted()
98 JsArgList(return_args), NULL); in OnEncryptionComplete()
106 JsArgList(return_args), NULL); in OnMigrationNeededForTypes()
[all …]
Djs_test_util.cc12 void PrintTo(const JsArgList& args, ::std::ostream* os) { in PrintTo()
20 : public ::testing::MatcherInterface<const JsArgList&> {
22 explicit HasArgsMatcher(const JsArgList& expected_args) in HasArgsMatcher()
28 const JsArgList& args, in MatchAndExplain()
43 const JsArgList expected_args_;
50 ::testing::Matcher<const JsArgList&> HasArgs(const JsArgList& expected_args) { in HasArgs()
54 ::testing::Matcher<const JsArgList&> HasArgsAsList( in HasArgsAsList()
56 return HasArgs(JsArgList(expected_args)); in HasArgsAsList()
Djs_test_util.h22 class JsArgList; variable
25 void PrintTo(const JsArgList& args, ::std::ostream* os);
30 ::testing::Matcher<const JsArgList&> HasArgs(const JsArgList& expected_args);
33 ::testing::Matcher<const JsArgList&> HasArgsAsList(
46 MOCK_METHOD3(ProcessMessage, void(const ::std::string&, const JsArgList&,
58 void(const ::std::string&, const JsArgList&,
67 MOCK_METHOD2(HandleJsEvent, void(const ::std::string&, const JsArgList&));
76 void(const ::std::string&, const JsArgList&,
Djs_arg_list.h21 class JsArgList {
23 JsArgList();
24 explicit JsArgList(const ListValue& args);
25 explicit JsArgList(const std::vector<const Value*>& args);
26 ~JsArgList();
Djs_event_handler_list.h44 const std::string& name, const JsArgList& args,
50 const JsArgList& args,
58 JsArgList args;
61 PendingMessage(const std::string& name, const JsArgList& args,
Dprofile_sync_service_unittest.cc182 HasArgs(JsArgList()))).Times(AtLeast(3)); in TEST_F()
231 JsArgList args1(arg_list1); in TEST_F()
237 JsArgList args2(arg_list2); in TEST_F()
244 JsArgList args3(arg_list3); in TEST_F()
289 JsArgList args1(arg_list1); in TEST_F()
295 JsArgList args2(arg_list2); in TEST_F()
301 JsArgList args3(arg_list3); in TEST_F()
305 const JsArgList kNoArgs; in TEST_F()
Djs_arg_list_unittest.cc16 JsArgList arg_list; in TEST_F()
29 JsArgList arg_list(*list); in TEST_F()
49 JsArgList arg_list(vec); in TEST_F()
Djs_event_handler_list.cc16 const std::string& name, const JsArgList& args, in PendingMessage()
69 const std::string& name, const JsArgList& args, in ProcessMessage()
79 const JsArgList& args, in RouteJsEvent()
Djs_event_handler.h15 class JsArgList; variable
22 const std::string& name, const JsArgList& args) = 0;
Djs_event_router.h15 class JsArgList; variable
28 virtual void RouteJsEvent(const std::string& name, const JsArgList& args,
Djs_frontend.h15 class JsArgList; variable
34 const std::string& name, const JsArgList& args,
Djs_backend.h15 class JsArgList; variable
35 const std::string& name, const JsArgList& args,
Djs_sync_manager_observer_unittest.cc38 HasArgs(JsArgList()), NULL)); in TEST_F()
41 HasArgs(JsArgList()), NULL)); in TEST_F()
45 HasArgs(JsArgList()), NULL)); in TEST_F()
48 HasArgs(JsArgList()), NULL)); in TEST_F()
51 HasArgs(JsArgList()), NULL)); in TEST_F()
Djs_event_handler_list_unittest.cc29 JsArgList args1(arg_list1), args2(arg_list2); in TEST_F()
85 JsArgList args1(arg_list1), args2(arg_list2); in TEST_F()
DREADME.js13 latter of which is represented by a JsArgList (js_arg_list.h) object,
35 JsBackends may live on different threads, but JsArgList is thread-safe
Dtest_profile_sync_service.h68 virtual void ProcessMessage(const std::string& name, const JsArgList& args,
Dtest_profile_sync_service.cc121 const std::string& name, const JsArgList& args, in ProcessMessage()
/external/chromium/chrome/browser/ui/webui/
Dsync_internals_ui.cc48 browser_sync::JsArgList args(params.arguments); in ProcessWebUIMessage()
60 browser_sync::JsArgList(args)); in ProcessWebUIMessage()
73 const browser_sync::JsArgList& args) { in HandleJsEvent()
Dsync_internals_ui_unittest.cc26 using browser_sync::JsArgList;
147 GetTestSyncInternalsUI()->HandleJsEvent("testMessage", JsArgList(args)); in TEST_F()
161 GetTestSyncInternalsUI()->HandleJsEvent("testMessage", JsArgList(args)); in TEST_F()
Dsync_internals_ui.h43 const browser_sync::JsArgList& args);
/external/chromium/chrome/browser/sync/glue/
Dsync_backend_host.h52 class JsArgList; variable
294 virtual void ProcessMessage(const std::string& name, const JsArgList& args,
299 const JsArgList& args,
401 const std::string& name, const JsArgList& args,
489 const std::string& name, const JsArgList& args,
Dsync_backend_host.cc1019 const std::string& name, const JsArgList& args, in RouteJsEvent()
1056 const std::string& name, const JsArgList& args, in RouteJsEventOnFrontendLoop()
1121 const std::string& name, const JsArgList& args, in ProcessMessage()
1150 const std::string& name, const JsArgList& args, in DoProcessMessage()
/external/chromium/chrome/browser/sync/engine/
Dsyncapi_unittest.cc48 using browser_sync::JsArgList;
803 const JsArgList kNoArgs; in TEST_F()
852 const JsArgList kNoArgs; in TEST_F()
859 JsArgList return_args; in TEST_F()
886 const JsArgList& return_args, in CheckGetNodeByIdReturnArgs()
910 JsArgList return_args; in TEST_F()
922 js_backend->ProcessMessage("getNodeById", JsArgList(args), &event_handler); in TEST_F()
931 js_backend->ProcessMessage("getNodeById", JsArgList(args), &event_handler); in TEST_F()
957 js_backend->ProcessMessage("getNodeById", JsArgList(args), &event_handler); in TEST_F()
963 js_backend->ProcessMessage("getNodeById", JsArgList(args), &event_handler); in TEST_F()
[all …]
Dsyncapi.cc1394 const browser_sync::JsArgList& args,
1512 browser_sync::JsArgList ProcessGetNodeByIdMessage(
1513 const browser_sync::JsArgList& args);
1515 browser_sync::JsArgList ProcessFindNodesContainingString(
1516 const browser_sync::JsArgList& args);
2587 const browser_sync::JsArgList& args) { in LogNoRouter()
2595 const std::string& name, const browser_sync::JsArgList& args, in ProcessMessage()
2608 browser_sync::JsArgList(return_args), sender); in ProcessMessage()
2618 browser_sync::JsArgList(return_args), sender); in ProcessMessage()
2631 browser_sync::JsArgList(return_args), sender); in ProcessMessage()
[all …]

12