Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/extensions/
Dextension_updater.h40 class ManifestFetchData {
66 explicit ManifestFetchData(const GURL& update_url);
67 ~ManifestFetchData();
102 DISALLOW_COPY_AND_ASSIGN(ManifestFetchData);
123 std::vector<ManifestFetchData*> GetFetches();
153 std::multimap<GURL, ManifestFetchData*> fetches_;
282 void StartUpdateCheck(ManifestFetchData* fetch_data);
290 void HandleManifestResults(const ManifestFetchData& fetch_data,
299 std::vector<int> DetermineUpdates(const ManifestFetchData& fetch_data,
329 std::deque<ManifestFetchData*> manifests_pending_;
[all …]
Dextension_updater.cc70 ManifestFetchData::ManifestFetchData(const GURL& update_url) in ManifestFetchData() function in ManifestFetchData
75 ManifestFetchData::~ManifestFetchData() {} in ~ManifestFetchData()
99 bool ManifestFetchData::AddExtension(std::string id, std::string version, in AddExtension()
159 bool ManifestFetchData::Includes(const std::string& extension_id) const { in Includes()
163 bool ManifestFetchData::DidPing(std::string extension_id, PingType type) const { in DidPing()
191 int days = ManifestFetchData::kNeverPinged; in CalculatePingDays()
203 return ManifestFetchData::kNeverPinged; in CalculateActivePingDays()
272 std::vector<ManifestFetchData*> ManifestFetchesBuilder::GetFetches() { in GetFetches()
273 std::vector<ManifestFetchData*> fetches; in GetFetches()
275 for (std::multimap<GURL, ManifestFetchData*>::iterator it = in GetFetches()
[all …]
Dextension_updater_unittest.cc45 const ManifestFetchData::PingData kNeverPingedData(
46 ManifestFetchData::kNeverPinged, ManifestFetchData::kNeverPinged);
487 ManifestFetchData fetch_data(GURL("http://localhost/foo")); in TestUpdateUrlDataEmpty()
501 ManifestFetchData fetch_data(GURL("http://localhost/foo")); in TestUpdateUrlDataSimple()
515 ManifestFetchData fetch_data(GURL("http://localhost/foo")); in TestUpdateUrlDataCompound()
531 std::vector<ManifestFetchData*> fetches = builder.GetFetches(); in TestUpdateUrlDataFromGallery()
533 scoped_ptr<ManifestFetchData> fetch(fetches[0]); in TestUpdateUrlDataFromGallery()
562 ManifestFetchData fetch_data(GURL("http://localhost/foo")); in TestDetermineUpdates()
602 ManifestFetchData fetch_data(GURL("http://localhost/foo")); in TestDetermineUpdatesPending()
645 ManifestFetchData* fetch1 = new ManifestFetchData(url1); in TestMultipleManifestDownloading()
[all …]