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

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

Issue 1824933002: include safe_browsing_db/util.h directly in files not related to chunking (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v4_01_prot_mgr_basic_tests
Patch Set: git fetch && git rebase Created 4 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_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.
(...skipping 14 matching lines...) Expand all
25 #include "base/macros.h" 25 #include "base/macros.h"
26 #include "base/memory/scoped_ptr.h" 26 #include "base/memory/scoped_ptr.h"
27 #include "base/threading/non_thread_safe.h" 27 #include "base/threading/non_thread_safe.h"
28 #include "base/time/time.h" 28 #include "base/time/time.h"
29 #include "base/timer/timer.h" 29 #include "base/timer/timer.h"
30 #include "chrome/browser/safe_browsing/chunk_range.h" 30 #include "chrome/browser/safe_browsing/chunk_range.h"
31 #include "chrome/browser/safe_browsing/protocol_manager_helper.h" 31 #include "chrome/browser/safe_browsing/protocol_manager_helper.h"
32 #include "chrome/browser/safe_browsing/protocol_parser.h" 32 #include "chrome/browser/safe_browsing/protocol_parser.h"
33 #include "chrome/browser/safe_browsing/safe_browsing_util.h" 33 #include "chrome/browser/safe_browsing/safe_browsing_util.h"
34 #include "components/safe_browsing_db/safebrowsing.pb.h" 34 #include "components/safe_browsing_db/safebrowsing.pb.h"
35 #include "components/safe_browsing_db/util.h"
35 #include "net/url_request/url_fetcher_delegate.h" 36 #include "net/url_request/url_fetcher_delegate.h"
36 #include "net/url_request/url_request_status.h" 37 #include "net/url_request/url_request_status.h"
37 #include "url/gurl.h" 38 #include "url/gurl.h"
38 39
39 namespace net { 40 namespace net {
40 class URLFetcher; 41 class URLFetcher;
41 class URLRequestContextGetter; 42 class URLRequestContextGetter;
42 } // namespace net 43 } // namespace net
43 44
44 namespace safe_browsing { 45 namespace safe_browsing {
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 AddChunksCallback callback) = 0; 437 AddChunksCallback callback) = 0;
437 438
438 // Delete chunks from the database. 439 // Delete chunks from the database.
439 virtual void DeleteChunks( 440 virtual void DeleteChunks(
440 scoped_ptr<std::vector<SBChunkDelete> > chunk_deletes) = 0; 441 scoped_ptr<std::vector<SBChunkDelete> > chunk_deletes) = 0;
441 }; 442 };
442 443
443 } // namespace safe_browsing 444 } // namespace safe_browsing
444 445
445 #endif // CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_MANAGER_H_ 446 #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_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698