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 COMPONENTS_VISITEDLINK_BROWSER_VISITEDLINK_MASTER_H_ | 5 #ifndef COMPONENTS_VISITEDLINK_BROWSER_VISITEDLINK_MASTER_H_ |
6 #define COMPONENTS_VISITEDLINK_BROWSER_VISITEDLINK_MASTER_H_ | 6 #define COMPONENTS_VISITEDLINK_BROWSER_VISITEDLINK_MASTER_H_ |
7 | 7 |
8 #if defined(OS_WIN) | 8 #if defined(OS_WIN) |
9 #include <windows.h> | 9 #include <windows.h> |
10 #endif | 10 #endif |
11 #include <set> | 11 #include <set> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/callback.h" | 14 #include "base/callback.h" |
15 #include "base/callback_forward.h" | 15 #include "base/callback_forward.h" |
16 #include "base/files/file_path.h" | 16 #include "base/files/file_path.h" |
17 #include "base/gtest_prod_util.h" | 17 #include "base/gtest_prod_util.h" |
18 #include "base/shared_memory.h" | 18 #include "base/memory/shared_memory.h" |
19 #include "base/threading/sequenced_worker_pool.h" | 19 #include "base/threading/sequenced_worker_pool.h" |
20 #include "components/visitedlink/common/visitedlink_common.h" | 20 #include "components/visitedlink/common/visitedlink_common.h" |
21 | 21 |
22 #if defined(UNIT_TEST) || defined(PERF_TEST) || !defined(NDEBUG) | 22 #if defined(UNIT_TEST) || defined(PERF_TEST) || !defined(NDEBUG) |
23 #include "base/logging.h" | 23 #include "base/logging.h" |
24 #endif | 24 #endif |
25 | 25 |
26 class GURL; | 26 class GURL; |
27 | 27 |
28 namespace content { | 28 namespace content { |
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 if (hash_table_[i]) | 436 if (hash_table_[i]) |
437 used_count++; | 437 used_count++; |
438 } | 438 } |
439 DCHECK_EQ(used_count, used_items_); | 439 DCHECK_EQ(used_count, used_items_); |
440 } | 440 } |
441 #endif | 441 #endif |
442 | 442 |
443 } // namespace visitedlink | 443 } // namespace visitedlink |
444 | 444 |
445 #endif // COMPONENTS_VISITEDLINK_BROWSER_VISITEDLINK_MASTER_H_ | 445 #endif // COMPONENTS_VISITEDLINK_BROWSER_VISITEDLINK_MASTER_H_ |
OLD | NEW |