Home
last modified time | relevance | path

Searched refs:EXTENSION_FUNCTION_VALIDATE (Results 1 – 25 of 29) sorted by relevance

12

/external/chromium/chrome/browser/extensions/
Dextension_page_actions_module.cc39 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &page_action_id)); in SetPageActionEnabled()
41 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(1, &action)); in SetPageActionEnabled()
44 EXTENSION_FUNCTION_VALIDATE(action->GetInteger(keys::kTabIdKey, &tab_id)); in SetPageActionEnabled()
46 EXTENSION_FUNCTION_VALIDATE(action->GetString(keys::kUrlKey, &url)); in SetPageActionEnabled()
53 EXTENSION_FUNCTION_VALIDATE(action->GetString(keys::kTitleKey, &title)); in SetPageActionEnabled()
55 EXTENSION_FUNCTION_VALIDATE(action->GetInteger(keys::kIconIdKey, in SetPageActionEnabled()
122 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &tab_id)); in SetVisible()
149 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(0, &args)); in RunImpl()
152 EXTENSION_FUNCTION_VALIDATE(args->GetInteger("tabId", &tab_id)); in RunImpl()
164 EXTENSION_FUNCTION_VALIDATE( in RunImpl()
[all …]
Dextension_rlz_module.cc80 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &product_name)); in RunImpl()
82 EXTENSION_FUNCTION_VALIDATE(GetProductFromName(product_name, &product)); in RunImpl()
85 EXTENSION_FUNCTION_VALIDATE(args_->GetString(1, &ap_name)); in RunImpl()
87 EXTENSION_FUNCTION_VALIDATE(rlz_lib::GetAccessPointFromName(ap_name.c_str(), in RunImpl()
91 EXTENSION_FUNCTION_VALIDATE(args_->GetString(2, &event_name)); in RunImpl()
93 EXTENSION_FUNCTION_VALIDATE(GetEventFromName(event_name, &event_id)); in RunImpl()
105 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &ap_name)); in RunImpl()
107 EXTENSION_FUNCTION_VALIDATE(rlz_lib::GetAccessPointFromName(ap_name.c_str(), in RunImpl()
123 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &product_name)); in RunImpl()
125 EXTENSION_FUNCTION_VALIDATE(GetProductFromName(product_name, &product)); in RunImpl()
[all …]
Dextension_metrics_module.cc38 EXTENSION_FUNCTION_VALIDATE(args_->GetBoolean(0, &enabled)); in RunImpl()
57 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &name)); in RunImpl()
66 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, name)); in GetNameAndSample()
67 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(1, sample)); in GetNameAndSample()
99 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(1, &sample)); in RunImpl()
103 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(0, &metric_type)); in RunImpl()
110 EXTENSION_FUNCTION_VALIDATE(metric_type->GetString("metricName", &name)); in RunImpl()
111 EXTENSION_FUNCTION_VALIDATE(metric_type->GetString("type", &type)); in RunImpl()
112 EXTENSION_FUNCTION_VALIDATE(metric_type->GetInteger("min", &min)); in RunImpl()
113 EXTENSION_FUNCTION_VALIDATE(metric_type->GetInteger("max", &max)); in RunImpl()
[all …]
Dextension_browser_actions_api.cc24 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(0, &details_)); in RunImpl()
25 EXTENSION_FUNCTION_VALIDATE(details_ != NULL); in RunImpl()
28 EXTENSION_FUNCTION_VALIDATE(details_->GetInteger("tabId", &tab_id_)); in RunImpl()
49 EXTENSION_FUNCTION_VALIDATE(details_->GetBinary("imageData", &binary)); in RunBrowserAction()
53 EXTENSION_FUNCTION_VALIDATE( in RunBrowserAction()
61 EXTENSION_FUNCTION_VALIDATE(details_->GetString("title", &title)); in RunBrowserAction()
68 EXTENSION_FUNCTION_VALIDATE(details_->GetString("popup", &popup_string)); in RunBrowserAction()
80 EXTENSION_FUNCTION_VALIDATE(details_->GetString("text", &badge_text)); in RunBrowserAction()
87 EXTENSION_FUNCTION_VALIDATE(details_->GetList("color", &list)); in RunBrowserAction()
88 EXTENSION_FUNCTION_VALIDATE(list->GetSize() == 4); in RunBrowserAction()
[all …]
Dextension_history_api.cc224 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(0, &json)); in RunAsyncImpl()
227 EXTENSION_FUNCTION_VALIDATE(json->Get(keys::kUrlKey, &value)); in RunAsyncImpl()
261 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(0, &json)); in RunAsyncImpl()
265 EXTENSION_FUNCTION_VALIDATE(json->GetString(keys::kTextKey, &search_text)); in RunAsyncImpl()
273 EXTENSION_FUNCTION_VALIDATE(json->Get(keys::kStartTimeKey, &value)); in RunAsyncImpl()
274 EXTENSION_FUNCTION_VALIDATE(GetTimeFromValue(value, &options.begin_time)); in RunAsyncImpl()
278 EXTENSION_FUNCTION_VALIDATE(json->Get(keys::kEndTimeKey, &value)); in RunAsyncImpl()
279 EXTENSION_FUNCTION_VALIDATE(GetTimeFromValue(value, &options.end_time)); in RunAsyncImpl()
282 EXTENSION_FUNCTION_VALIDATE(json->GetInteger(keys::kMaxResultsKey, in RunAsyncImpl()
311 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(0, &json)); in RunImpl()
[all …]
Dextension_tabs_module.cc257 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &window_id)); in RunImpl()
296 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(0, &args)); in RunImpl()
299 EXTENSION_FUNCTION_VALIDATE(args->GetBoolean(keys::kPopulateKey, in RunImpl()
328 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(0, &args)); in RunImpl()
346 EXTENSION_FUNCTION_VALIDATE(url_list->GetString(i, &url_string)); in RunImpl()
378 EXTENSION_FUNCTION_VALIDATE(args->GetInteger(keys::kTabIdKey, &tab_id)); in RunImpl()
425 EXTENSION_FUNCTION_VALIDATE(args->GetInteger(keys::kLeftKey, in RunImpl()
432 EXTENSION_FUNCTION_VALIDATE(args->GetInteger(keys::kTopKey, in RunImpl()
439 EXTENSION_FUNCTION_VALIDATE(args->GetInteger(keys::kWidthKey, in RunImpl()
446 EXTENSION_FUNCTION_VALIDATE(args->GetInteger(keys::kHeightKey, in RunImpl()
[all …]
Dextension_omnibox_api.cc113 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &suggestions.request_id)); in RunImpl()
114 EXTENSION_FUNCTION_VALIDATE(args_->GetList(1, &suggestions_value)); in RunImpl()
120 EXTENSION_FUNCTION_VALIDATE(suggestions_value->GetDictionary( in RunImpl()
122 EXTENSION_FUNCTION_VALIDATE(suggestion_value->GetString( in RunImpl()
124 EXTENSION_FUNCTION_VALIDATE(suggestion_value->GetString( in RunImpl()
129 EXTENSION_FUNCTION_VALIDATE( in RunImpl()
131 EXTENSION_FUNCTION_VALIDATE(suggestion.ReadStylesFromValue(*styles)); in RunImpl()
150 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(0, &suggestion_value)); in RunImpl()
151 EXTENSION_FUNCTION_VALIDATE(suggestion_value->GetString( in RunImpl()
156 EXTENSION_FUNCTION_VALIDATE( in RunImpl()
[all …]
Dextension_cookies_api.cc119 EXTENSION_FUNCTION_VALIDATE(details->GetString(keys::kUrlKey, &url_string)); in ParseUrl()
146 EXTENSION_FUNCTION_VALIDATE( in ParseStoreContext()
183 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(0, &details)); in RunImpl()
191 EXTENSION_FUNCTION_VALIDATE(details->GetString(keys::kNameKey, &name_)); in RunImpl()
248 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(0, &details_)); in RunImpl()
308 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(0, &details)); in RunImpl()
316 EXTENSION_FUNCTION_VALIDATE(details->GetString(keys::kNameKey, &name_)); in RunImpl()
318 EXTENSION_FUNCTION_VALIDATE(details->GetString(keys::kValueKey, &value_)); in RunImpl()
320 EXTENSION_FUNCTION_VALIDATE(details->GetString(keys::kDomainKey, &domain_)); in RunImpl()
322 EXTENSION_FUNCTION_VALIDATE(details->GetString(keys::kPathKey, &path_)); in RunImpl()
[all …]
Dextension_preference_api.cc290 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &pref_key)); in RunImpl()
292 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(1, &details)); in RunImpl()
296 EXTENSION_FUNCTION_VALIDATE(details->GetBoolean(kIncognito, &incognito)); in RunImpl()
307 EXTENSION_FUNCTION_VALIDATE( in RunImpl()
340 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &pref_key)); in RunImpl()
342 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(1, &details)); in RunImpl()
345 EXTENSION_FUNCTION_VALIDATE(details->Get(kValue, &value)); in RunImpl()
349 EXTENSION_FUNCTION_VALIDATE(details->GetBoolean(kIncognito, &incognito)); in RunImpl()
358 EXTENSION_FUNCTION_VALIDATE( in RunImpl()
369 EXTENSION_FUNCTION_VALIDATE(value->GetType() == pref->GetType()); in RunImpl()
[all …]
Dextension_sidebar_api.cc104 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(0, &details)); in RunImpl()
110 EXTENSION_FUNCTION_VALIDATE(details->GetInteger(kTabIdKey, &tab_id)); in RunImpl()
175 EXTENSION_FUNCTION_VALIDATE(details.GetInteger(kTabIdKey, &tab_id)); in RunImpl()
208 EXTENSION_FUNCTION_VALIDATE(details.GetString(kPathKey, &path_string)); in RunImpl()
223 EXTENSION_FUNCTION_VALIDATE(details.GetString(kBadgeTextKey, &badge_text)); in RunImpl()
233 EXTENSION_FUNCTION_VALIDATE(details.GetBinary(kImageDataKey, &binary)); in RunImpl()
237 EXTENSION_FUNCTION_VALIDATE( in RunImpl()
247 EXTENSION_FUNCTION_VALIDATE(details.GetString(kTitleKey, &title)); in RunImpl()
Dextension_context_menu_api.cc209 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(0, &properties)); in RunImpl()
210 EXTENSION_FUNCTION_VALIDATE(properties != NULL); in RunImpl()
213 EXTENSION_FUNCTION_VALIDATE(properties->GetInteger(kGeneratedIdKey, in RunImpl()
249 EXTENSION_FUNCTION_VALIDATE(properties->GetInteger(kParentIdKey, in RunImpl()
274 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &item_id.uid)); in RunImpl()
286 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(1, &properties)); in RunImpl()
287 EXTENSION_FUNCTION_VALIDATE(properties != NULL); in RunImpl()
302 EXTENSION_FUNCTION_VALIDATE(properties->GetString(kTitleKey, &title)); in RunImpl()
341 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &id.uid)); in RunImpl()
Dextension_bookmarks_module.cc279 EXTENSION_FUNCTION_VALIDATE(args_->Get(0, &arg0)); in RunImpl()
283 EXTENSION_FUNCTION_VALIDATE(count > 0); in RunImpl()
287 EXTENSION_FUNCTION_VALIDATE(ids->GetString(i, &id_string)); in RunImpl()
301 EXTENSION_FUNCTION_VALIDATE(arg0->GetAsString(&id_string)); in RunImpl()
320 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &id_string)); in RunImpl()
341 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &number_of_items)); in RunImpl()
369 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &query)); in RunImpl()
408 EXTENSION_FUNCTION_VALIDATE(ExtractIds(args_.get(), &ids, &invalid_id)); in RunImpl()
419 EXTENSION_FUNCTION_VALIDATE(count > 0); in RunImpl()
431 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(0, &json)); in RunImpl()
[all …]
Dextension_test_api.cc40 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &message)); in RunImpl()
52 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &message)); in RunImpl()
71 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &url)); in RunImpl()
78 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &message)); in RunImpl()
Dextension_infobar_module.cc28 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(0, &args)); in RunImpl()
31 EXTENSION_FUNCTION_VALIDATE(args->GetInteger(keys::kTabId, &tab_id)); in RunImpl()
34 EXTENSION_FUNCTION_VALIDATE(args->GetString(keys::kHtmlPath, &html_path)); in RunImpl()
Dextension_webrequest_api.cc569 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(1, &value)); in RunImpl()
570 EXTENSION_FUNCTION_VALIDATE(filter.InitFromValue(*value)); in RunImpl()
576 EXTENSION_FUNCTION_VALIDATE(args_->GetList(2, &value)); in RunImpl()
577 EXTENSION_FUNCTION_VALIDATE( in RunImpl()
583 EXTENSION_FUNCTION_VALIDATE(args_->GetString(3, &event_name)); in RunImpl()
586 EXTENSION_FUNCTION_VALIDATE(args_->GetString(4, &sub_event_name)); in RunImpl()
600 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &event_name)); in RunImpl()
603 EXTENSION_FUNCTION_VALIDATE(args_->GetString(1, &sub_event_name)); in RunImpl()
606 EXTENSION_FUNCTION_VALIDATE(args_->GetString(2, &request_id_str)); in RunImpl()
609 EXTENSION_FUNCTION_VALIDATE(base::StringToInt64(request_id_str, &request_id)); in RunImpl()
[all …]
Dextension_input_api.cc78 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(0, &args)); in RunImpl()
81 EXTENSION_FUNCTION_VALIDATE(args->GetString(kType, &type_name)); in RunImpl()
89 EXTENSION_FUNCTION_VALIDATE(args->GetString(kKeyIdentifier, &identifier)); in RunImpl()
Dextension_webstore_private_api.cc127 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &id)); in RunImpl()
286 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &id_)); in RunImpl()
293 EXTENSION_FUNCTION_VALIDATE(args_->GetString(1, &icon_data_)); in RunImpl()
294 EXTENSION_FUNCTION_VALIDATE(args_->GetString(2, &manifest_)); in RunImpl()
406 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &id)); in RunImpl()
466 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &login)); in RunImpl()
485 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &preferred_email)); in RunImpl()
Dextension_management_api.cc150 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &extension_id)); in RunImpl()
168 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &extension_id)); in RunImpl()
198 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &extension_id)); in RunImpl()
199 EXTENSION_FUNCTION_VALIDATE(args_->GetBoolean(1, &enable)); in RunImpl()
228 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &extension_id)); in RunImpl()
Dextension_info_private_api_chromeos.cc33 EXTENSION_FUNCTION_VALIDATE(args_->GetList(0, &list)); in RunImpl()
37 EXTENSION_FUNCTION_VALIDATE(list->GetString(i, &property_name)); in RunImpl()
Dextension_bookmark_manager_api.cc216 EXTENSION_FUNCTION_VALIDATE(GetNodesFromArguments(model, args_.get(), in CopyOrCut()
365 EXTENSION_FUNCTION_VALIDATE( in RunImpl()
390 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &id_string)); in RunImpl()
405 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(1, &drop_index)); in RunImpl()
440 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &id_string)); in RunImpl()
442 EXTENSION_FUNCTION_VALIDATE(args_->GetBoolean(1, &folders_only)); in RunImpl()
Dexecute_code_in_tab_function.cc39 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(1, &script_info)); in RunImpl()
63 EXTENSION_FUNCTION_VALIDATE(args_->Get(0, &tab_value)); in RunImpl()
73 EXTENSION_FUNCTION_VALIDATE(tab_value->GetAsInteger(&execute_tab_id_)); in RunImpl()
Dextension_tts_api.cc345 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &text)); in RunImpl()
348 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(1, &options)); in RunImpl()
379 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &request_id)); in RunImpl()
381 EXTENSION_FUNCTION_VALIDATE(args_->GetString(1, &error_message)); in RunImpl()
Dextension_debugger_api.cc288 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &tab_id)); in RunImpl()
314 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &tab_id)); in RunImpl()
330 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &tab_id)); in RunImpl()
336 EXTENSION_FUNCTION_VALIDATE(args_->GetString(1, &method)); in RunImpl()
Dextension_module.cc19 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &data)); in RunImpl()
Dextension_clipboard_api.cc22 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &tab_id)); in RunImpl()

12