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

Side by Side 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, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_LIMITER_OBSERVER_H_
6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_LIMITER_OBSERVER_H_
7
8 #include "content/public/browser/web_contents_observer.h"
9
10 // Watches for user gesture notifications.
11 class DownloadRequestLimiterObserver : public content::WebContentsObserver {
12 public:
13 explicit DownloadRequestLimiterObserver(content::WebContents* web_contents);
14 virtual ~DownloadRequestLimiterObserver();
15
16 // content::WebContentsObserver overrides.
17 virtual void DidGetUserGesture() OVERRIDE;
18
19 private:
20 DISALLOW_COPY_AND_ASSIGN(DownloadRequestLimiterObserver);
21 };
22
23 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_LIMITER_OBSERVER_H_
OLDNEW
« 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