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

Side by Side Diff: chrome/browser/safe_browsing/malware_details_cache.h

Issue 7006005: Move UrlFetcher to content. I originally thought that it's only used by chrome code, but turns o... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux Created 9 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
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_SAFE_BROWSING_MALWARE_DETAILS_CACHE_H_ 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_CACHE_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_CACHE_H_ 6 #define CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_CACHE_H_
7 #pragma once 7 #pragma once
8 8
9 // A class that gets malware details from the HTTP Cache. 9 // A class that gets malware details from the HTTP Cache.
10 // An instance of this class is generated by MalwareDetails. 10 // An instance of this class is generated by MalwareDetails.
11 11
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/hash_tables.h" 15 #include "base/hash_tables.h"
16 #include "base/memory/linked_ptr.h" 16 #include "base/memory/linked_ptr.h"
17 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
18 #include "chrome/browser/safe_browsing/report.pb.h" 18 #include "chrome/browser/safe_browsing/report.pb.h"
19 #include "chrome/common/net/url_fetcher.h" 19 #include "content/common/url_fetcher.h"
20 #include "net/base/completion_callback.h" 20 #include "net/base/completion_callback.h"
21 21
22 namespace net { 22 namespace net {
23 class URLRequestContext; 23 class URLRequestContext;
24 } 24 }
25 25
26 class MalwareDetailsFactory; 26 class MalwareDetailsFactory;
27 27
28 namespace safe_browsing { 28 namespace safe_browsing {
29 29
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 const std::string& data); 105 const std::string& data);
106 106
107 // Called when we are done. 107 // Called when we are done.
108 void AllDone(bool success); 108 void AllDone(bool success);
109 109
110 // Advances to the next entry in resources_it_. 110 // Advances to the next entry in resources_it_.
111 void AdvanceEntry(); 111 void AdvanceEntry();
112 }; 112 };
113 113
114 #endif // CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_CACHE_H_ 114 #endif // CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_CACHE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698