Home
last modified time | relevance | path

Searched refs:tab_ids (Results 1 – 7 of 7) sorted by relevance

/external/chromium/chrome/browser/extensions/
Dextension_cookies_helpers.cc72 ListValue* tab_ids) { in CreateCookieStoreValue() argument
74 DCHECK(tab_ids); in CreateCookieStoreValue()
77 result->Set(keys::kTabIdsKey, tab_ids); in CreateCookieStoreValue()
122 void AppendToTabIdList(Browser* browser, ListValue* tab_ids) { in AppendToTabIdList() argument
124 DCHECK(tab_ids); in AppendToTabIdList()
127 tab_ids->Append(Value::CreateIntegerValue( in AppendToTabIdList()
Dextension_cookies_helpers.h47 ListValue* tab_ids);
74 void AppendToTabIdList(Browser* browser, ListValue* tab_ids);
Dextension_cookies_unittest.cc152 ListValue* tab_ids = new ListValue(); in TEST_F() local
154 extension_cookies_helpers::CreateCookieStoreValue(&profile, tab_ids)); in TEST_F()
158 EXPECT_EQ(tab_ids, value); in TEST_F()
/external/chromium_org/chrome/browser/extensions/api/cookies/
Dcookies_helpers.cc93 base::ListValue* tab_ids) { in CreateCookieStore() argument
95 DCHECK(tab_ids); in CreateCookieStore()
98 dict.Set(keys::kTabIdsKey, tab_ids); in CreateCookieStore()
149 void AppendToTabIdList(Browser* browser, base::ListValue* tab_ids) { in AppendToTabIdList() argument
151 DCHECK(tab_ids); in AppendToTabIdList()
154 tab_ids->Append(new base::FundamentalValue( in AppendToTabIdList()
Dcookies_helpers.h63 base::ListValue* tab_ids);
89 void AppendToTabIdList(Browser* browser, base::ListValue* tab_ids);
Dcookies_unittest.cc115 std::vector<int> tab_ids; in TEST_F() local
119 EXPECT_EQ(tab_ids, cookie_store->tab_ids); in TEST_F()
/external/chromium_org/chrome/browser/extensions/api/tabs/
Dtabs_api.cc1426 if (params->tab_ids.as_integers) { in RunImpl()
1427 std::vector<int>& tab_ids = *params->tab_ids.as_integers; in RunImpl() local
1428 num_tabs = tab_ids.size(); in RunImpl()
1429 for (size_t i = 0; i < tab_ids.size(); ++i) { in RunImpl()
1430 if (!MoveTab(tab_ids[i], &new_index, i, &tab_values, window_id)) in RunImpl()
1434 EXTENSION_FUNCTION_VALIDATE(params->tab_ids.as_integer); in RunImpl()
1436 if (!MoveTab(*params->tab_ids.as_integer, in RunImpl()
1618 if (params->tab_ids.as_integers) { in RunImpl()
1619 std::vector<int>& tab_ids = *params->tab_ids.as_integers; in RunImpl() local
1620 for (size_t i = 0; i < tab_ids.size(); ++i) { in RunImpl()
[all …]