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

Side by Side Diff: chrome/browser/extensions/zipfile_installer.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_ZIPFILE_INSTALLER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_ZIPFILE_INSTALLER_H_
6 #define CHROME_BROWSER_EXTENSIONS_ZIPFILE_INSTALLER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_ZIPFILE_INSTALLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 17 matching lines...) Expand all
28 class ZipFileInstaller : public content::UtilityProcessHostClient { 28 class ZipFileInstaller : public content::UtilityProcessHostClient {
29 public: 29 public:
30 static scoped_refptr<ZipFileInstaller> Create( 30 static scoped_refptr<ZipFileInstaller> Create(
31 ExtensionService* extension_service); 31 ExtensionService* extension_service);
32 32
33 void LoadFromZipFile(const base::FilePath& path); 33 void LoadFromZipFile(const base::FilePath& path);
34 34
35 void set_be_noisy_on_failure(bool value) { be_noisy_on_failure_ = value; } 35 void set_be_noisy_on_failure(bool value) { be_noisy_on_failure_ = value; }
36 36
37 // UtilityProcessHostClient 37 // UtilityProcessHostClient
38 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 38 virtual bool OnMessageReceived(const IPC::Message& message) override;
39 39
40 private: 40 private:
41 explicit ZipFileInstaller(ExtensionService* extension_service); 41 explicit ZipFileInstaller(ExtensionService* extension_service);
42 virtual ~ZipFileInstaller(); 42 virtual ~ZipFileInstaller();
43 43
44 void PrepareTempDir(); 44 void PrepareTempDir();
45 void StartWorkOnIOThread(const base::FilePath& temp_dir); 45 void StartWorkOnIOThread(const base::FilePath& temp_dir);
46 void ReportSuccessOnUIThread(const base::FilePath& unzipped_path); 46 void ReportSuccessOnUIThread(const base::FilePath& unzipped_path);
47 void ReportErrorOnUIThread(const std::string& error); 47 void ReportErrorOnUIThread(const std::string& error);
48 48
49 void OnUnzipSucceeded(const base::FilePath& unzipped_path); 49 void OnUnzipSucceeded(const base::FilePath& unzipped_path);
50 void OnUnzipFailed(const std::string& error); 50 void OnUnzipFailed(const std::string& error);
51 51
52 bool be_noisy_on_failure_; 52 bool be_noisy_on_failure_;
53 base::WeakPtr<ExtensionService> extension_service_weak_; 53 base::WeakPtr<ExtensionService> extension_service_weak_;
54 base::FilePath zip_path_; 54 base::FilePath zip_path_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(ZipFileInstaller); 56 DISALLOW_COPY_AND_ASSIGN(ZipFileInstaller);
57 }; 57 };
58 58
59 } // namespace extensions 59 } // namespace extensions
60 60
61 #endif // CHROME_BROWSER_EXTENSIONS_ZIPFILE_INSTALLER_H_ 61 #endif // CHROME_BROWSER_EXTENSIONS_ZIPFILE_INSTALLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/window_open_interactive_apitest.cc ('k') | chrome/browser/extensions/zipfile_installer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698