Lines Matching refs:updater
341 static void SimulateTimerFired(ExtensionUpdater* updater) {
342 EXPECT_TRUE(updater->timer_.IsRunning());
343 updater->timer_.Stop();
344 updater->TimerFired();
347 static void SimulateCheckSoon(const ExtensionUpdater& updater,
349 EXPECT_TRUE(updater.will_check_soon_);
388 // Set up and start the updater.
391 ExtensionUpdater updater(
394 updater.Start();
397 updater.set_blacklist_checks_enabled(false);
400 SimulateTimerFired(&updater);
436 // Setup and start the updater.
444 ExtensionUpdater updater(
447 updater.Start();
449 // Tell the updater that it's time to do update checks.
450 SimulateTimerFired(&updater);
556 ExtensionUpdater updater(
559 updater.Start();
564 std::vector<int> updateable = updater.DetermineUpdates(fetch_data,
583 updateable = updater.DetermineUpdates(fetch_data, updates);
597 ExtensionUpdater updater(
600 updater.Start();
614 updater.DetermineUpdates(fetch_data, updates);
634 ExtensionUpdater updater(service.get(), service->extension_prefs(),
638 updater.Start();
651 updater.StartUpdateCheck(fetch1);
652 updater.StartUpdateCheck(fetch2);
707 ExtensionUpdater updater(service.get(), service->extension_prefs(),
711 updater.Start();
719 updater.FetchUpdatedExtension(id, test_url, hash, version->GetString());
777 ExtensionUpdater updater(
780 updater.Start();
789 updater.FetchUpdatedExtension(id, test_url, hash, version);
802 // The updater should have called extension service to process the
823 ExtensionUpdater updater(
826 updater.Start();
840 updater.FetchUpdatedExtension(id1, url1, hash1, version1);
841 updater.FetchUpdatedExtension(id2, url2, hash2, version2);
936 ExtensionUpdater updater(
939 updater.Start();
940 updater.set_blacklist_checks_enabled(false);
942 // Make the updater do manifest fetching, and note the urls it tries to
945 updater.CheckNow();
994 // This makes sure that the extension updater properly stores the results
1002 ExtensionUpdater updater(
1005 updater.Start();
1021 updater.HandleManifestResults(fetch_data, &results);
1179 ExtensionUpdater updater(
1182 updater.Start();
1183 updater.StartUpdateCheck(new ManifestFetchData(GURL()));
1185 updater.StartUpdateCheck(new ManifestFetchData(GURL()));
1187 updater.StartUpdateCheck(new ManifestFetchData(
1190 updater.Stop();
1201 ExtensionUpdater updater(
1204 EXPECT_FALSE(updater.WillCheckSoon());
1205 updater.Start();
1206 EXPECT_FALSE(updater.WillCheckSoon());
1207 updater.CheckSoon();
1208 EXPECT_TRUE(updater.WillCheckSoon());
1209 updater.CheckSoon();
1210 EXPECT_TRUE(updater.WillCheckSoon());
1211 ExtensionUpdaterTest::SimulateCheckSoon(updater, &message_loop);
1212 EXPECT_FALSE(updater.WillCheckSoon());
1213 updater.CheckSoon();
1214 EXPECT_TRUE(updater.WillCheckSoon());
1215 updater.Stop();
1216 EXPECT_FALSE(updater.WillCheckSoon());