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

Side by Side Diff: components/visitedlink/browser/visitedlink_master.h

Issue 666133002: Standardize usage of virtual/override/final in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 #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
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // 78 //
79 // When |suppress_rebuild| is set, we'll not attempt to load data from 79 // When |suppress_rebuild| is set, we'll not attempt to load data from
80 // history if the file can't be loaded. This should generally be set for 80 // history if the file can't be loaded. This should generally be set for
81 // testing except when you want to test the rebuild process explicitly. 81 // testing except when you want to test the rebuild process explicitly.
82 VisitedLinkMaster(Listener* listener, 82 VisitedLinkMaster(Listener* listener,
83 VisitedLinkDelegate* delegate, 83 VisitedLinkDelegate* delegate,
84 bool persist_to_disk, 84 bool persist_to_disk,
85 bool suppress_rebuild, 85 bool suppress_rebuild,
86 const base::FilePath& filename, 86 const base::FilePath& filename,
87 int32 default_table_size); 87 int32 default_table_size);
88 virtual ~VisitedLinkMaster(); 88 ~VisitedLinkMaster() override;
89 89
90 // Must be called immediately after object creation. Nothing else will work 90 // Must be called immediately after object creation. Nothing else will work
91 // until this is called. Returns true on success, false means that this 91 // until this is called. Returns true on success, false means that this
92 // object won't work. 92 // object won't work.
93 bool Init(); 93 bool Init();
94 94
95 base::SharedMemory* shared_memory() { return shared_memory_; } 95 base::SharedMemory* shared_memory() { return shared_memory_; }
96 96
97 // Adds a URL to the table. 97 // Adds a URL to the table.
98 void AddURL(const GURL& url); 98 void AddURL(const GURL& url);
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « components/visitedlink/browser/visitedlink_event_listener.h ('k') | components/visitedlink/browser/visitedlink_master.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698