OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_VISITEDLINK_VISITEDLINK_DELEGATE_H_ | |
6 #define CHROME_BROWSER_VISITEDLINK_VISITEDLINK_DELEGATE_H_ | |
7 | |
8 #include <vector> | |
tfarina
2012/12/20 01:43:34
you don't use this include in this header file.
boliu
2012/12/29 01:48:12
Done.
| |
9 | |
10 class GURL; | |
11 | |
12 namespace content { | |
13 class BrowserContext; | |
14 } // namespace content | |
15 | |
16 // TODO(boliu): Comment | |
17 class VisitedLinkDelegate { | |
18 public: | |
19 virtual bool IsEquivalentContext(content::BrowserContext* context1, | |
20 content::BrowserContext* context2) = 0; | |
21 | |
22 class URLEnumerator { | |
23 public: | |
24 virtual void OnURL(const GURL& url) = 0; | |
25 virtual void OnComplete(bool success) = 0; | |
26 protected: | |
tfarina
2012/12/20 01:43:34
add a blank line above.
boliu
2012/12/29 01:48:12
Done.
| |
27 virtual ~URLEnumerator() {} | |
28 }; | |
29 | |
30 virtual void RebuildTable(URLEnumerator* enumerator) = 0; | |
joth
2012/12/20 01:39:29
virtual d'tor, DISALLOW_COPY etc.
tfarina
2012/12/20 01:43:34
you don't need this subtle pattern of DISALLOW_COP
boliu
2012/12/29 01:48:12
Done.
| |
31 }; | |
32 | |
33 #endif // CHROME_BROWSER_VISITEDLINK_VISITEDLINK_DELEGATE_H_ | |
OLD | NEW |