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

Side by Side Diff: chrome/browser/ui/app_list/search/webstore/webstore_installer.h

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_UI_APP_LIST_SEARCH_WEBSTORE_WEBSTORE_INSTALLER_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_WEBSTORE_WEBSTORE_INSTALLER_H_
6 #define CHROME_BROWSER_UI_APP_LIST_SEARCH_WEBSTORE_WEBSTORE_INSTALLER_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_SEARCH_WEBSTORE_WEBSTORE_INSTALLER_H_
7 7
8 #include "chrome/browser/extensions/webstore_install_with_prompt.h" 8 #include "chrome/browser/extensions/webstore_install_with_prompt.h"
9 9
10 class Profile; 10 class Profile;
11 11
12 namespace app_list { 12 namespace app_list {
13 13
14 // WebstoreInstaller handles install for web store search results. 14 // WebstoreInstaller handles install for web store search results.
15 class WebstoreInstaller : public extensions::WebstoreInstallWithPrompt { 15 class WebstoreInstaller : public extensions::WebstoreInstallWithPrompt {
16 public: 16 public:
17 typedef WebstoreStandaloneInstaller::Callback Callback; 17 typedef WebstoreStandaloneInstaller::Callback Callback;
18 18
19 WebstoreInstaller(const std::string& webstore_item_id, 19 WebstoreInstaller(const std::string& webstore_item_id,
20 Profile* profile, 20 Profile* profile,
21 gfx::NativeWindow parent_window, 21 gfx::NativeWindow parent_window,
22 const Callback& callback); 22 const Callback& callback);
23 23
24 private: 24 private:
25 friend class base::RefCountedThreadSafe<WebstoreInstaller>; 25 friend class base::RefCountedThreadSafe<WebstoreInstaller>;
26 virtual ~WebstoreInstaller(); 26 ~WebstoreInstaller() override;
27 27
28 DISALLOW_COPY_AND_ASSIGN(WebstoreInstaller); 28 DISALLOW_COPY_AND_ASSIGN(WebstoreInstaller);
29 }; 29 };
30 30
31 } // namespace app_list 31 } // namespace app_list
32 32
33 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_WEBSTORE_WEBSTORE_INSTALLER_H_ 33 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_WEBSTORE_WEBSTORE_INSTALLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698