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

Side by Side Diff: chrome/browser/download/download_safe_browsing_client.h

Issue 6995007: iwyu: Use callback_old.h where appropriate, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SAFE_BROWSING_CLIENT_H_ 5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SAFE_BROWSING_CLIENT_H_
6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SAFE_BROWSING_CLIENT_H_ 6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SAFE_BROWSING_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/callback.h" 9 #include "base/callback_old.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/time.h" 11 #include "base/time.h"
12 #include "chrome/browser/safe_browsing/safe_browsing_service.h" 12 #include "chrome/browser/safe_browsing/safe_browsing_service.h"
13 13
14 struct DownloadCreateInfo; 14 struct DownloadCreateInfo;
15 15
16 // This is a helper class used by DownloadManager to check a download URL with 16 // This is a helper class used by DownloadManager to check a download URL with
17 // SafeBrowsingService. The client is refcounted and will be released once 17 // SafeBrowsingService. The client is refcounted and will be released once
18 // there is no reference to it. 18 // there is no reference to it.
19 // Usage: 19 // Usage:
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 std::vector<GURL> url_chain_; 101 std::vector<GURL> url_chain_;
102 GURL referrer_url_; 102 GURL referrer_url_;
103 103
104 // When a safebrowsing check starts, for stats purpose. 104 // When a safebrowsing check starts, for stats purpose.
105 base::TimeTicks start_time_; 105 base::TimeTicks start_time_;
106 106
107 DISALLOW_COPY_AND_ASSIGN(DownloadSBClient); 107 DISALLOW_COPY_AND_ASSIGN(DownloadSBClient);
108 }; 108 };
109 109
110 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SAFE_BROWSING_CLIENT_H_ 110 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SAFE_BROWSING_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/browsing_data_local_storage_helper.h ('k') | chrome/browser/extensions/extension_accessibility_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698