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

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

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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_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 <stddef.h>
22
21 #include "base/containers/hash_tables.h" 23 #include "base/containers/hash_tables.h"
22 #include "base/gtest_prod_util.h" 24 #include "base/gtest_prod_util.h"
25 #include "base/macros.h"
23 #include "base/memory/scoped_ptr.h" 26 #include "base/memory/scoped_ptr.h"
24 #include "base/threading/non_thread_safe.h" 27 #include "base/threading/non_thread_safe.h"
25 #include "base/time/time.h" 28 #include "base/time/time.h"
26 #include "base/timer/timer.h" 29 #include "base/timer/timer.h"
27 #include "chrome/browser/safe_browsing/chunk_range.h" 30 #include "chrome/browser/safe_browsing/chunk_range.h"
28 #include "chrome/browser/safe_browsing/protocol_manager_helper.h" 31 #include "chrome/browser/safe_browsing/protocol_manager_helper.h"
29 #include "chrome/browser/safe_browsing/protocol_parser.h" 32 #include "chrome/browser/safe_browsing/protocol_parser.h"
30 #include "chrome/browser/safe_browsing/safe_browsing_util.h" 33 #include "chrome/browser/safe_browsing/safe_browsing_util.h"
31 #include "net/url_request/url_fetcher_delegate.h" 34 #include "net/url_request/url_fetcher_delegate.h"
32 #include "net/url_request/url_request_status.h" 35 #include "net/url_request/url_request_status.h"
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 AddChunksCallback callback) = 0; 441 AddChunksCallback callback) = 0;
439 442
440 // Delete chunks from the database. 443 // Delete chunks from the database.
441 virtual void DeleteChunks( 444 virtual void DeleteChunks(
442 scoped_ptr<std::vector<SBChunkDelete> > chunk_deletes) = 0; 445 scoped_ptr<std::vector<SBChunkDelete> > chunk_deletes) = 0;
443 }; 446 };
444 447
445 } // namespace safe_browsing 448 } // namespace safe_browsing
446 449
447 #endif // CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_MANAGER_H_ 450 #endif // CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/ping_manager.h ('k') | chrome/browser/safe_browsing/protocol_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698