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

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

Issue 6995007: iwyu: Use callback_old.h where appropriate, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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 | 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_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 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
11 11
12 #include "chrome/browser/safe_browsing/safe_browsing_store.h" 12 #include "chrome/browser/safe_browsing/safe_browsing_store.h"
13 13
14 #include "base/callback.h" 14 #include "base/callback_old.h"
15 #include "base/file_util.h" 15 #include "base/file_util.h"
16 16
17 // Implement SafeBrowsingStore in terms of a flat file. The file 17 // Implement SafeBrowsingStore in terms of a flat file. The file
18 // format is pretty literal: 18 // format is pretty literal:
19 // 19 //
20 // int32 magic; // magic number "validating" file 20 // int32 magic; // magic number "validating" file
21 // int32 version; // format version 21 // int32 version; // format version
22 // 22 //
23 // // Counts for the various data which follows the header. 23 // // Counts for the various data which follows the header.
24 // uint32 add_chunk_count; // Chunks seen, including empties. 24 // uint32 add_chunk_count; // Chunks seen, including empties.
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 274
275 // Tracks whether corruption has already been seen in the current 275 // Tracks whether corruption has already been seen in the current
276 // update, so that only one instance is recorded in the stats. 276 // update, so that only one instance is recorded in the stats.
277 // TODO(shess): Remove with format-migration support. 277 // TODO(shess): Remove with format-migration support.
278 bool corruption_seen_; 278 bool corruption_seen_;
279 279
280 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingStoreFile); 280 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingStoreFile);
281 }; 281 };
282 282
283 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_FILE_H_ 283 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_FILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_store.h ('k') | chrome/browser/service/service_process_control.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698