OLD | NEW |
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_SAFE_BROWSING_STORE_FILE_H_ | 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_FILE_H_ |
6 #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_FILE_H_ | 6 #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_FILE_H_ |
7 #pragma once | |
8 | 7 |
9 #include <set> | 8 #include <set> |
10 #include <vector> | 9 #include <vector> |
11 | 10 |
12 #include "chrome/browser/safe_browsing/safe_browsing_store.h" | 11 #include "chrome/browser/safe_browsing/safe_browsing_store.h" |
13 | 12 |
14 #include "base/callback.h" | 13 #include "base/callback.h" |
15 #include "base/file_util.h" | 14 #include "base/file_util.h" |
16 | 15 |
17 // Implement SafeBrowsingStore in terms of a flat file. The file | 16 // Implement SafeBrowsingStore in terms of a flat file. The file |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 | 285 |
287 // Tracks whether corruption has already been seen in the current | 286 // Tracks whether corruption has already been seen in the current |
288 // update, so that only one instance is recorded in the stats. | 287 // update, so that only one instance is recorded in the stats. |
289 // TODO(shess): Remove with format-migration support. | 288 // TODO(shess): Remove with format-migration support. |
290 bool corruption_seen_; | 289 bool corruption_seen_; |
291 | 290 |
292 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingStoreFile); | 291 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingStoreFile); |
293 }; | 292 }; |
294 | 293 |
295 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_FILE_H_ | 294 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_FILE_H_ |
OLD | NEW |