Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(354)

Unified Diff: components/update_client/background_downloader_win.h

Issue 1880823002: Fix crash in update_client::BackgroundDownloader::EndDownload. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/update_client/background_downloader_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/update_client/background_downloader_win.h
diff --git a/components/update_client/background_downloader_win.h b/components/update_client/background_downloader_win.h
index 563a2601e7d92edadfd9067579d34b4cad1ca1d1..f0d5ecd62526c4c2993c6092dc78f98130693008 100644
--- a/components/update_client/background_downloader_win.h
+++ b/components/update_client/background_downloader_win.h
@@ -85,6 +85,10 @@ class BackgroundDownloader : public CrxDownloader {
void StartTimer();
void OnTimer();
+ // Returns true if the timer is running or false if the timer is not
+ // created or not running at all.
+ bool TimerIsRunning() const;
+
HRESULT QueueBitsJob(const GURL& url, IBackgroundCopyJob** job);
HRESULT CreateOrOpenJob(const GURL& url, IBackgroundCopyJob** job);
HRESULT InitializeNewJob(
« no previous file with comments | « no previous file | components/update_client/background_downloader_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698