| Index: chrome/browser/android/offline_pages/external_listener_impl.h
|
| diff --git a/chrome/browser/android/offline_pages/external_listener_impl.h b/chrome/browser/android/offline_pages/external_listener_impl.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4085002b6e01a1b0dbef62e1eabd90a8293b0217
|
| --- /dev/null
|
| +++ b/chrome/browser/android/offline_pages/external_listener_impl.h
|
| @@ -0,0 +1,35 @@
|
| +// Copyright 2016 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_ANDROID_OFFLINE_PAGES_EXTERNAL_LISTENER_IMPL_H_
|
| +#define CHROME_BROWSER_ANDROID_OFFLINE_PAGES_EXTERNAL_LISTENER_IMPL_H_
|
| +
|
| +#include "chrome/browser/android/offline_pages/offline_page_model_factory.h"
|
| +#include "components/offline_pages/external_listener.h"
|
| +
|
| +class Profile;
|
| +
|
| +namespace bookmarks {
|
| +class BookmarkModel;
|
| +class BookmarkNode;
|
| +}
|
| +
|
| +namespace offline_pages {
|
| +
|
| +class ExternalListenerImpl : public ExternalListener {
|
| + public:
|
| + explicit ExternalListenerImpl(Profile* profile);
|
| +
|
| + void BookmarkNodeRemoved(bookmarks::BookmarkModel* model,
|
| + const bookmarks::BookmarkNode* parent,
|
| + int old_index,
|
| + const bookmarks::BookmarkNode* node,
|
| + const std::set<GURL>& removed_urls) override;
|
| +
|
| + private:
|
| + Profile* profile_;
|
| +};
|
| +} // namespace offline_pages
|
| +
|
| +#endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_EXTERNAL_LISTENER_IMPL_H_
|
|
|