OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 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_EXTENSIONS_TEST_BOOKMARK_APP_HELPER_H_ | |
6 #define CHROME_BROWSER_EXTENSIONS_TEST_BOOKMARK_APP_HELPER_H_ | |
7 | |
8 #include "chrome/browser/extensions/bookmark_app_helper.h" | |
9 | |
10 namespace extensions { | |
11 namespace test { | |
12 | |
13 class TestBookmarkAppHelper : public extensions::BookmarkAppHelper { | |
benwells
2017/06/06 03:31:50
What's the point of this class?
tapted
2017/06/06 07:44:12
Added a comment.
(OnDidGetManifest and OnIconsDow
| |
14 public: | |
15 TestBookmarkAppHelper(Profile* profile, | |
16 WebApplicationInfo web_app_info, | |
17 content::WebContents* contents) | |
18 : BookmarkAppHelper(profile, web_app_info, contents) {} | |
19 ~TestBookmarkAppHelper() override {} | |
20 | |
21 protected: | |
22 // Allow subclasses to call these. | |
23 using BookmarkAppHelper::OnDidGetManifest; | |
24 using BookmarkAppHelper::OnIconsDownloaded; | |
25 | |
26 private: | |
27 DISALLOW_COPY_AND_ASSIGN(TestBookmarkAppHelper); | |
28 }; | |
29 | |
30 } // namespace test | |
31 } // namespace extensions | |
32 | |
33 #endif // CHROME_BROWSER_EXTENSIONS_TEST_BOOKMARK_APP_HELPER_H_ | |
OLD | NEW |