Chromium Code Reviews| Index: chrome/browser/visitedlink/visitedlink_delegate.h |
| diff --git a/chrome/browser/visitedlink/visitedlink_delegate.h b/chrome/browser/visitedlink/visitedlink_delegate.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..fc47564d88cdad1ad0329f4eed99df92a29354be |
| --- /dev/null |
| +++ b/chrome/browser/visitedlink/visitedlink_delegate.h |
| @@ -0,0 +1,33 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_VISITEDLINK_VISITEDLINK_DELEGATE_H_ |
| +#define CHROME_BROWSER_VISITEDLINK_VISITEDLINK_DELEGATE_H_ |
| + |
| +#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.
|
| + |
| +class GURL; |
| + |
| +namespace content { |
| +class BrowserContext; |
| +} // namespace content |
| + |
| +// TODO(boliu): Comment |
| +class VisitedLinkDelegate { |
| + public: |
| + virtual bool IsEquivalentContext(content::BrowserContext* context1, |
| + content::BrowserContext* context2) = 0; |
| + |
| + class URLEnumerator { |
| + public: |
| + virtual void OnURL(const GURL& url) = 0; |
| + virtual void OnComplete(bool success) = 0; |
| + protected: |
|
tfarina
2012/12/20 01:43:34
add a blank line above.
boliu
2012/12/29 01:48:12
Done.
|
| + virtual ~URLEnumerator() {} |
| + }; |
| + |
| + 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.
|
| +}; |
| + |
| +#endif // CHROME_BROWSER_VISITEDLINK_VISITEDLINK_DELEGATE_H_ |