Home
last modified time | relevance | path

Searched refs:channel_ids (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/net/extras/sqlite/
Dsqlite_channel_id_store_unittest.cc27 void Load(ScopedVector<DefaultChannelIDStore::ChannelID>* channel_ids) { in Load() argument
33 channel_ids->swap(channel_ids_); in Load()
39 scoped_ptr<ScopedVector<DefaultChannelIDStore::ChannelID> > channel_ids) { in OnLoaded()
40 channel_ids_.swap(*channel_ids); in OnLoaded()
81 ScopedVector<DefaultChannelIDStore::ChannelID> channel_ids; in SetUp() local
82 Load(&channel_ids); in SetUp()
83 ASSERT_EQ(0u, channel_ids.size()); in SetUp()
107 ScopedVector<DefaultChannelIDStore::ChannelID> channel_ids; in TEST_F() local
119 Load(&channel_ids); in TEST_F()
120 ASSERT_EQ(2U, channel_ids.size()); in TEST_F()
[all …]
Dsqlite_channel_id_store.cc103 ScopedVector<DefaultChannelIDStore::ChannelID>* channel_ids);
165 scoped_ptr<ScopedVector<DefaultChannelIDStore::ChannelID> > channel_ids( in Load() local
168 channel_ids.get(); in Load()
173 base::Bind(loaded_callback, base::Passed(&channel_ids))); in Load()
177 ScopedVector<DefaultChannelIDStore::ChannelID>* channel_ids) { in LoadInBackground() argument
248 channel_ids->push_back(channel_id.release()); in LoadInBackground()
253 static_cast<base::HistogramBase::Sample>(channel_ids->size())); in LoadInBackground()
260 DVLOG(1) << "loaded " << channel_ids->size() << " in " in LoadInBackground()
/external/chromium_org/chrome/browser/net/
Dquota_policy_channel_id_store_unittest.cc30 void Load(ScopedVector<net::DefaultChannelIDStore::ChannelID>* channel_ids) { in Load() argument
36 channel_ids->swap(channel_ids_); in Load()
42 channel_ids) { in OnLoaded()
43 channel_ids_.swap(*channel_ids); in OnLoaded()
76 ScopedVector<net::DefaultChannelIDStore::ChannelID> channel_ids; in SetUp() local
77 Load(&channel_ids); in SetUp()
78 ASSERT_EQ(0u, channel_ids.size()); in SetUp()
108 ScopedVector<net::DefaultChannelIDStore::ChannelID> channel_ids; in TEST_F() local
121 Load(&channel_ids); in TEST_F()
122 ASSERT_EQ(2U, channel_ids.size()); in TEST_F()
[all …]
Dquota_policy_channel_id_store.cc72 scoped_ptr<ChannelIDVector> channel_ids) { in OnLoad() argument
73 for (ChannelIDVector::const_iterator channel_id = channel_ids->begin(); in OnLoad()
74 channel_id != channel_ids->end(); in OnLoad()
78 loaded_callback.Run(channel_ids.Pass()); in OnLoad()
Dquota_policy_channel_id_store.h58 scoped_ptr<ChannelIDVector> channel_ids);
/external/chromium_org/net/ssl/
Ddefault_channel_id_store_unittest.cc93 channel_ids(new ScopedVector<DefaultChannelIDStore::ChannelID>()); in Load() local
97 channel_ids->push_back( in Load()
102 FROM_HERE, base::Bind(loaded_callback, base::Passed(&channel_ids))); in Load()
451 ChannelIDStore::ChannelIDList channel_ids; in TEST() local
452 store.GetAllChannelIDs(base::Bind(GetAllCallback, &channel_ids)); in TEST()
453 EXPECT_EQ(4u, channel_ids.size()); in TEST()
489 ChannelIDStore::ChannelIDList channel_ids; in TEST() local
490 store.GetAllChannelIDs(base::Bind(GetAllCallback, &channel_ids)); in TEST()
491 ASSERT_EQ(3u, channel_ids.size()); in TEST()
493 ChannelIDStore::ChannelIDList::iterator channel_id = channel_ids.begin(); in TEST()
[all …]
Ddefault_channel_id_store.cc334 scoped_ptr<ScopedVector<ChannelID> > channel_ids) { in OnLoaded()
337 for (std::vector<ChannelID*>::const_iterator it = channel_ids->begin(); in OnLoaded()
338 it != channel_ids->end(); ++it) { in OnLoaded()
343 channel_ids->weak_clear(); in OnLoaded()
/external/chromium_org/chrome/browser/browsing_data/
Dbrowsing_data_channel_id_helper_unittest.cc50 const net::ChannelIDStore::ChannelIDList& channel_ids) { in FetchCallback() argument
52 channel_id_list_ = channel_ids; in FetchCallback()
Dbrowsing_data_remover_unittest.cc349 void GetChannelIDList(net::ChannelIDStore::ChannelIDList* channel_ids) { in GetChannelIDList() argument
352 channel_ids)); in GetChannelIDList()
970 net::ChannelIDStore::ChannelIDList channel_ids; in TEST_F() local
971 tester.GetChannelIDList(&channel_ids); in TEST_F()
972 ASSERT_EQ(1U, channel_ids.size()); in TEST_F()
973 EXPECT_EQ(kTestOrigin2, channel_ids.front().server_identifier()); in TEST_F()
/external/chromium_org/chrome/browser/content_settings/
Dlocal_shared_objects_container.cc70 count += channel_ids()->GetChannelIDCount(); in GetObjectCount()
214 channel_ids(), in CreateCookiesTreeModel()
Dlocal_shared_objects_container.h44 CannedBrowsingDataChannelIDHelper* channel_ids() const { in channel_ids() function