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

Unified Diff: chrome/browser/download/download_request_limiter_observer.h

Issue 10412061: Fix crashes in DownloadRequestLimiter when extension popups/bubbles initiate downloads automatically (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 7 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
Index: chrome/browser/download/download_request_limiter_observer.h
diff --git a/chrome/browser/download/download_request_limiter_observer.h b/chrome/browser/download/download_request_limiter_observer.h
deleted file mode 100644
index b0fa5953874f6115b9cfdab3f2b22e32d24c1202..0000000000000000000000000000000000000000
--- a/chrome/browser/download/download_request_limiter_observer.h
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_LIMITER_OBSERVER_H_
-#define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_LIMITER_OBSERVER_H_
-
-#include "content/public/browser/web_contents_observer.h"
-
-// Watches for user gesture notifications.
-class DownloadRequestLimiterObserver : public content::WebContentsObserver {
- public:
- explicit DownloadRequestLimiterObserver(content::WebContents* web_contents);
- virtual ~DownloadRequestLimiterObserver();
-
- // content::WebContentsObserver overrides.
- virtual void DidGetUserGesture() OVERRIDE;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(DownloadRequestLimiterObserver);
-};
-
-#endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_LIMITER_OBSERVER_H_
« no previous file with comments | « chrome/browser/download/download_request_limiter.cc ('k') | chrome/browser/download/download_request_limiter_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698