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

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

Issue 16667019: Rename base/hash_tables to base/containers/hash_tables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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) 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_PROTOCOL_MANAGER_H_ 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_MANAGER_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_MANAGER_H_ 6 #define CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_MANAGER_H_
7 7
8 // A class that implements Chrome's interface with the SafeBrowsing protocol. 8 // A class that implements Chrome's interface with the SafeBrowsing protocol.
9 // See https://developers.google.com/safe-browsing/developers_guide_v2 for 9 // See https://developers.google.com/safe-browsing/developers_guide_v2 for
10 // protocol details. 10 // protocol details.
11 // 11 //
12 // The SafeBrowsingProtocolManager handles formatting and making requests of, 12 // The SafeBrowsingProtocolManager handles formatting and making requests of,
13 // and handling responses from, Google's SafeBrowsing servers. This class uses 13 // and handling responses from, Google's SafeBrowsing servers. This class uses
14 // The SafeBrowsingProtocolParser class to do the actual parsing. 14 // The SafeBrowsingProtocolParser class to do the actual parsing.
15 15
16 #include <deque> 16 #include <deque>
17 #include <set> 17 #include <set>
18 #include <string> 18 #include <string>
19 #include <vector> 19 #include <vector>
20 20
21 #include "base/containers/hash_tables.h"
21 #include "base/gtest_prod_util.h" 22 #include "base/gtest_prod_util.h"
22 #include "base/hash_tables.h"
23 #include "base/memory/scoped_ptr.h" 23 #include "base/memory/scoped_ptr.h"
24 #include "base/threading/non_thread_safe.h" 24 #include "base/threading/non_thread_safe.h"
25 #include "base/time.h" 25 #include "base/time.h"
26 #include "base/timer.h" 26 #include "base/timer.h"
27 #include "chrome/browser/safe_browsing/chunk_range.h" 27 #include "chrome/browser/safe_browsing/chunk_range.h"
28 #include "chrome/browser/safe_browsing/protocol_manager_helper.h"
28 #include "chrome/browser/safe_browsing/protocol_parser.h" 29 #include "chrome/browser/safe_browsing/protocol_parser.h"
29 #include "chrome/browser/safe_browsing/protocol_manager_helper.h"
30 #include "chrome/browser/safe_browsing/safe_browsing_util.h" 30 #include "chrome/browser/safe_browsing/safe_browsing_util.h"
31 #include "googleurl/src/gurl.h" 31 #include "googleurl/src/gurl.h"
32 #include "net/url_request/url_fetcher_delegate.h" 32 #include "net/url_request/url_fetcher_delegate.h"
33 33
34 namespace net { 34 namespace net {
35 class URLFetcher; 35 class URLFetcher;
36 class URLRequestContextGetter; 36 class URLRequestContextGetter;
37 } // namespace net 37 } // namespace net
38 38
39 #if defined(COMPILER_GCC) 39 #if defined(COMPILER_GCC)
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 // call at a later time. 423 // call at a later time.
424 virtual void AddChunks(const std::string& list, SBChunkList* chunks, 424 virtual void AddChunks(const std::string& list, SBChunkList* chunks,
425 AddChunksCallback callback) = 0; 425 AddChunksCallback callback) = 0;
426 426
427 // Delete chunks from the database. 427 // Delete chunks from the database.
428 virtual void DeleteChunks( 428 virtual void DeleteChunks(
429 std::vector<SBChunkDelete>* delete_chunks) = 0; 429 std::vector<SBChunkDelete>* delete_chunks) = 0;
430 }; 430 };
431 431
432 #endif // CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_MANAGER_H_ 432 #endif // CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/malware_details_history.h ('k') | chrome/browser/safe_browsing/safe_browsing_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698