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

Side by Side Diff: chrome/browser/safe_browsing/local_database_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 // Safe Browsing Database Manager implementation that manages a local 5 // Safe Browsing Database Manager implementation that manages a local
6 // database. This is used by Desktop Chromium. 6 // database. This is used by Desktop Chromium.
7 7
8 #ifndef CHROME_BROWSER_SAFE_BROWSING_LOCAL_DATABASE_MANAGER_H_ 8 #ifndef CHROME_BROWSER_SAFE_BROWSING_LOCAL_DATABASE_MANAGER_H_
9 #define CHROME_BROWSER_SAFE_BROWSING_LOCAL_DATABASE_MANAGER_H_ 9 #define CHROME_BROWSER_SAFE_BROWSING_LOCAL_DATABASE_MANAGER_H_
10 10
11 #include <stddef.h> 11 #include <stddef.h>
12 12
13 #include <deque> 13 #include <deque>
14 #include <map> 14 #include <map>
15 #include <set> 15 #include <set>
16 #include <string> 16 #include <string>
17 #include <vector> 17 #include <vector>
18 18
19 #include "base/callback.h" 19 #include "base/callback.h"
20 #include "base/containers/hash_tables.h" 20 #include "base/containers/hash_tables.h"
21 #include "base/gtest_prod_util.h" 21 #include "base/gtest_prod_util.h"
22 #include "base/macros.h" 22 #include "base/macros.h"
23 #include "base/memory/ref_counted.h" 23 #include "base/memory/ref_counted.h"
24 #include "base/memory/scoped_ptr.h" 24 #include "base/memory/scoped_ptr.h"
25 #include "base/memory/weak_ptr.h" 25 #include "base/memory/weak_ptr.h"
26 #include "base/synchronization/lock.h" 26 #include "base/synchronization/lock.h"
27 #include "base/time/time.h" 27 #include "base/time/time.h"
28 #include "chrome/browser/safe_browsing/protocol_manager.h" 28 #include "chrome/browser/safe_browsing/protocol_manager.h"
29 #include "chrome/browser/safe_browsing/safe_browsing_util.h"
29 #include "components/safe_browsing_db/database_manager.h" 30 #include "components/safe_browsing_db/database_manager.h"
30 #include "components/safe_browsing_db/util.h" 31 #include "components/safe_browsing_db/util.h"
31 #include "url/gurl.h" 32 #include "url/gurl.h"
32 33
33 namespace net { 34 namespace net {
34 class URLRequestContext; 35 class URLRequestContext;
35 class URLRequestContextGetter; 36 class URLRequestContextGetter;
36 } 37 }
37 38
38 namespace safe_browsing { 39 namespace safe_browsing {
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 379
379 // Timeout to use for safe browsing checks. 380 // Timeout to use for safe browsing checks.
380 base::TimeDelta check_timeout_; 381 base::TimeDelta check_timeout_;
381 382
382 DISALLOW_COPY_AND_ASSIGN(LocalSafeBrowsingDatabaseManager); 383 DISALLOW_COPY_AND_ASSIGN(LocalSafeBrowsingDatabaseManager);
383 }; // class LocalSafeBrowsingDatabaseManager 384 }; // class LocalSafeBrowsingDatabaseManager
384 385
385 } // namespace safe_browsing 386 } // namespace safe_browsing
386 387
387 #endif // CHROME_BROWSER_SAFE_BROWSING_LOCAL_DATABASE_MANAGER_H_ 388 #endif // CHROME_BROWSER_SAFE_BROWSING_LOCAL_DATABASE_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/prerender/prerender_browsertest.cc ('k') | chrome/browser/safe_browsing/ping_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698