| OLD | NEW |
| (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_ | |
| OLD | NEW |