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

Side by Side Diff: chrome/browser/extensions/external_install_error.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_EXTERNAL_INSTALL_ERROR_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTERNAL_INSTALL_ERROR_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTERNAL_INSTALL_ERROR_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTERNAL_INSTALL_ERROR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 MENU_ALERT 44 MENU_ALERT
45 }; 45 };
46 46
47 ExternalInstallError(content::BrowserContext* browser_context, 47 ExternalInstallError(content::BrowserContext* browser_context,
48 const std::string& extension_id, 48 const std::string& extension_id,
49 AlertType error_type, 49 AlertType error_type,
50 ExternalInstallManager* manager); 50 ExternalInstallManager* manager);
51 virtual ~ExternalInstallError(); 51 virtual ~ExternalInstallError();
52 52
53 // ExtensionInstallPrompt::Delegate implementation. 53 // ExtensionInstallPrompt::Delegate implementation.
54 virtual void InstallUIProceed() OVERRIDE; 54 virtual void InstallUIProceed() override;
55 virtual void InstallUIAbort(bool user_initiated) OVERRIDE; 55 virtual void InstallUIAbort(bool user_initiated) override;
56 56
57 // Show the associated dialog. This should only be called once the dialog is 57 // Show the associated dialog. This should only be called once the dialog is
58 // ready. 58 // ready.
59 void ShowDialog(Browser* browser); 59 void ShowDialog(Browser* browser);
60 60
61 // Return the associated extension, or NULL. 61 // Return the associated extension, or NULL.
62 const Extension* GetExtension() const; 62 const Extension* GetExtension() const;
63 63
64 const std::string& extension_id() const { return extension_id_; } 64 const std::string& extension_id() const { return extension_id_; }
65 AlertType alert_type() const { return alert_type_; } 65 AlertType alert_type() const { return alert_type_; }
66 66
67 private: 67 private:
68 // WebstoreDataFetcherDelegate implementation. 68 // WebstoreDataFetcherDelegate implementation.
69 virtual void OnWebstoreRequestFailure() OVERRIDE; 69 virtual void OnWebstoreRequestFailure() override;
70 virtual void OnWebstoreResponseParseSuccess( 70 virtual void OnWebstoreResponseParseSuccess(
71 scoped_ptr<base::DictionaryValue> webstore_data) OVERRIDE; 71 scoped_ptr<base::DictionaryValue> webstore_data) override;
72 virtual void OnWebstoreResponseParseFailure( 72 virtual void OnWebstoreResponseParseFailure(
73 const std::string& error) OVERRIDE; 73 const std::string& error) override;
74 74
75 // Called when data fetching has completed (either successfully or not). 75 // Called when data fetching has completed (either successfully or not).
76 void OnFetchComplete(); 76 void OnFetchComplete();
77 77
78 // Called when the dialog has been successfully populated, and is ready to be 78 // Called when the dialog has been successfully populated, and is ready to be
79 // shown. 79 // shown.
80 void OnDialogReady(const ExtensionInstallPrompt::ShowParams& show_params, 80 void OnDialogReady(const ExtensionInstallPrompt::ShowParams& show_params,
81 ExtensionInstallPrompt::Delegate* prompt_delegate, 81 ExtensionInstallPrompt::Delegate* prompt_delegate,
82 scoped_refptr<ExtensionInstallPrompt::Prompt> prompt); 82 scoped_refptr<ExtensionInstallPrompt::Prompt> prompt);
83 83
(...skipping 25 matching lines...) Expand all
109 scoped_ptr<WebstoreDataFetcher> webstore_data_fetcher_; 109 scoped_ptr<WebstoreDataFetcher> webstore_data_fetcher_;
110 110
111 base::WeakPtrFactory<ExternalInstallError> weak_factory_; 111 base::WeakPtrFactory<ExternalInstallError> weak_factory_;
112 112
113 DISALLOW_COPY_AND_ASSIGN(ExternalInstallError); 113 DISALLOW_COPY_AND_ASSIGN(ExternalInstallError);
114 }; 114 };
115 115
116 } // namespace extensions 116 } // namespace extensions
117 117
118 #endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_INSTALL_ERROR_H_ 118 #endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_INSTALL_ERROR_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/external_component_loader.h ('k') | chrome/browser/extensions/external_install_error.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698