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

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

Issue 2733343002: Move chrome/common/safe_browsing/csd.proto to components/safe_browsing (Closed)
Patch Set: rebase again Created 3 years, 9 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_THREAT_DETAILS_CACHE_H_ 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_THREAT_DETAILS_CACHE_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_THREAT_DETAILS_CACHE_H_ 6 #define CHROME_BROWSER_SAFE_BROWSING_THREAT_DETAILS_CACHE_H_
7 7
8 // A class that gets threat details from the HTTP Cache. 8 // A class that gets threat details from the HTTP Cache.
9 // An instance of this class is generated by ThreatDetails. 9 // An instance of this class is generated by ThreatDetails.
10 10
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/callback.h" 14 #include "base/callback.h"
15 #include "base/containers/hash_tables.h" 15 #include "base/containers/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/common/safe_browsing/csd.pb.h" 18 #include "components/safe_browsing/csd.pb.h"
19 #include "net/base/completion_callback.h" 19 #include "net/base/completion_callback.h"
20 #include "net/url_request/url_fetcher_delegate.h" 20 #include "net/url_request/url_fetcher_delegate.h"
21 21
22 namespace net { 22 namespace net {
23 class URLFetcher; 23 class URLFetcher;
24 } 24 }
25 25
26 namespace safe_browsing { 26 namespace safe_browsing {
27 27
28 // Maps a URL to its Resource. 28 // Maps a URL to its Resource.
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 // Called when we are done. 102 // Called when we are done.
103 void AllDone(bool success); 103 void AllDone(bool success);
104 104
105 // Advances to the next entry in resources_it_. 105 // Advances to the next entry in resources_it_.
106 void AdvanceEntry(); 106 void AdvanceEntry();
107 }; 107 };
108 108
109 } // namespace safe_browsing 109 } // namespace safe_browsing
110 110
111 #endif // CHROME_BROWSER_SAFE_BROWSING_THREAT_DETAILS_CACHE_H_ 111 #endif // CHROME_BROWSER_SAFE_BROWSING_THREAT_DETAILS_CACHE_H_
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/threat_details.h ('k') | chrome/browser/safe_browsing/threat_details_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698