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

Side by Side Diff: chrome/browser/extensions/bookmark_app_helper.h

Issue 624153002: replace OVERRIDE and FINAL with override and final in chrome/browser/extensions/ (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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROME_BROWSER_EXTENSIONS_BOOKMARK_APP_HELPER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_BOOKMARK_APP_HELPER_H_
6 #define CHROME_BROWSER_EXTENSIONS_BOOKMARK_APP_HELPER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_BOOKMARK_APP_HELPER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 private: 66 private:
67 friend class TestBookmarkAppHelper; 67 friend class TestBookmarkAppHelper;
68 68
69 // Performs post icon download tasks including installing the bookmark app. 69 // Performs post icon download tasks including installing the bookmark app.
70 void OnIconsDownloaded(bool success, 70 void OnIconsDownloaded(bool success,
71 const std::map<GURL, std::vector<SkBitmap> >& bitmaps); 71 const std::map<GURL, std::vector<SkBitmap> >& bitmaps);
72 72
73 // Overridden from content::NotificationObserver: 73 // Overridden from content::NotificationObserver:
74 virtual void Observe(int type, 74 virtual void Observe(int type,
75 const content::NotificationSource& source, 75 const content::NotificationSource& source,
76 const content::NotificationDetails& details) OVERRIDE; 76 const content::NotificationDetails& details) override;
77 77
78 // The WebApplicationInfo that the bookmark app is being created for. 78 // The WebApplicationInfo that the bookmark app is being created for.
79 WebApplicationInfo web_app_info_; 79 WebApplicationInfo web_app_info_;
80 80
81 // Called on app creation or failure. 81 // Called on app creation or failure.
82 CreateBookmarkAppCallback callback_; 82 CreateBookmarkAppCallback callback_;
83 83
84 // Downloads icons from the given WebApplicationInfo using the given 84 // Downloads icons from the given WebApplicationInfo using the given
85 // WebContents. 85 // WebContents.
86 scoped_ptr<FaviconDownloader> favicon_downloader_; 86 scoped_ptr<FaviconDownloader> favicon_downloader_;
(...skipping 17 matching lines...) Expand all
104 content::BrowserContext* browser_context, 104 content::BrowserContext* browser_context,
105 const extensions::Extension* extension, 105 const extensions::Extension* extension,
106 const base::Callback<void(const WebApplicationInfo&)> callback); 106 const base::Callback<void(const WebApplicationInfo&)> callback);
107 107
108 // Returns whether the given |url| is a valid bookmark app url. 108 // Returns whether the given |url| is a valid bookmark app url.
109 bool IsValidBookmarkAppUrl(const GURL& url); 109 bool IsValidBookmarkAppUrl(const GURL& url);
110 110
111 } // namespace extensions 111 } // namespace extensions
112 112
113 #endif // CHROME_BROWSER_EXTENSIONS_BOOKMARK_APP_HELPER_H_ 113 #endif // CHROME_BROWSER_EXTENSIONS_BOOKMARK_APP_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/blob_reader.h ('k') | chrome/browser/extensions/bookmark_app_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698