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

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

Issue 5270010: Revert 67662 - FBTF: Remove unneeded headers from base/ (part 10)... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_SAFE_BROWSING_STORE_H_ 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_H_ 6 #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/hash_tables.h" 13 #include "base/hash_tables.h"
14 #include "base/task.h"
14 #include "base/time.h" 15 #include "base/time.h"
15 #include "chrome/browser/safe_browsing/safe_browsing_util.h" 16 #include "chrome/browser/safe_browsing/safe_browsing_util.h"
16 17
17 class FilePath; 18 class FilePath;
18 19
19 // SafeBrowsingStore provides a storage abstraction for the 20 // SafeBrowsingStore provides a storage abstraction for the
20 // safe-browsing data used to build the bloom filter. The items 21 // safe-browsing data used to build the bloom filter. The items
21 // stored are: 22 // stored are:
22 // The set of add and sub chunks seen. 23 // The set of add and sub chunks seen.
23 // List of SBAddPrefix (chunk_id and SBPrefix). 24 // List of SBAddPrefix (chunk_id and SBPrefix).
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 220
220 // Cancel the update in process and remove any temporary disk 221 // Cancel the update in process and remove any temporary disk
221 // storage, leaving the original data unmodified. 222 // storage, leaving the original data unmodified.
222 virtual bool CancelUpdate() = 0; 223 virtual bool CancelUpdate() = 0;
223 224
224 private: 225 private:
225 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingStore); 226 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingStore);
226 }; 227 };
227 228
228 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_H_ 229 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/redirect_to_file_resource_handler.cc ('k') | chrome/browser/safe_browsing/safe_browsing_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698