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

Side by Side Diff: chrome/browser/extensions/api/webstore/webstore_api.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_API_WEBSTORE_WEBSTORE_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_WEBSTORE_WEBSTORE_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_WEBSTORE_WEBSTORE_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_WEBSTORE_WEBSTORE_API_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 api::webstore::InstallStage install_stage); 70 api::webstore::InstallStage install_stage);
71 71
72 // Removes listeners for the given |extension_id|-|routing_id| pair from 72 // Removes listeners for the given |extension_id|-|routing_id| pair from
73 // |listeners|. 73 // |listeners|.
74 void RemoveListeners(int routing_id, 74 void RemoveListeners(int routing_id,
75 const std::string& extension_id, 75 const std::string& extension_id,
76 ObservedInstallInfoList* listeners); 76 ObservedInstallInfoList* listeners);
77 77
78 // InstallObserver implementation. 78 // InstallObserver implementation.
79 virtual void OnBeginExtensionDownload(const std::string& extension_id) 79 virtual void OnBeginExtensionDownload(const std::string& extension_id)
80 OVERRIDE; 80 override;
81 virtual void OnDownloadProgress(const std::string& extension_id, 81 virtual void OnDownloadProgress(const std::string& extension_id,
82 int percent_downloaded) OVERRIDE; 82 int percent_downloaded) override;
83 virtual void OnBeginCrxInstall(const std::string& extension_id) OVERRIDE; 83 virtual void OnBeginCrxInstall(const std::string& extension_id) override;
84 virtual void OnShutdown() OVERRIDE; 84 virtual void OnShutdown() override;
85 85
86 // BrowserContextKeyedService implementation. 86 // BrowserContextKeyedService implementation.
87 virtual void Shutdown() OVERRIDE; 87 virtual void Shutdown() override;
88 88
89 // BrowserContextKeyedAPI implementation. 89 // BrowserContextKeyedAPI implementation.
90 static const char* service_name() { return "WebstoreAPI"; } 90 static const char* service_name() { return "WebstoreAPI"; }
91 static const bool kServiceIsNULLWhileTesting = true; 91 static const bool kServiceIsNULLWhileTesting = true;
92 92
93 ObservedInstallInfoList download_progress_listeners_; 93 ObservedInstallInfoList download_progress_listeners_;
94 ObservedInstallInfoList install_stage_listeners_; 94 ObservedInstallInfoList install_stage_listeners_;
95 content::BrowserContext* browser_context_; 95 content::BrowserContext* browser_context_;
96 scoped_ptr<ScopedObserver<InstallTracker, InstallObserver> > 96 scoped_ptr<ScopedObserver<InstallTracker, InstallObserver> >
97 install_observer_; 97 install_observer_;
98 98
99 DISALLOW_COPY_AND_ASSIGN(WebstoreAPI); 99 DISALLOW_COPY_AND_ASSIGN(WebstoreAPI);
100 }; 100 };
101 101
102 } // namespace extensions 102 } // namespace extensions
103 103
104 #endif // CHROME_BROWSER_EXTENSIONS_API_WEBSTORE_WEBSTORE_API_H_ 104 #endif // CHROME_BROWSER_EXTENSIONS_API_WEBSTORE_WEBSTORE_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698