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

Side by Side Diff: chrome/browser/chromeos/app_mode/kiosk_diagnosis_runner.h

Issue 827293003: Update {virtual,override,final} to follow C++11 style in chrome/browser/chromeos/app_mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comment Created 5 years, 11 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_CHROMEOS_APP_MODE_KIOSK_DIAGNOSIS_RUNNER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_DIAGNOSIS_RUNNER_H_
6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_DIAGNOSIS_RUNNER_H_ 6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_DIAGNOSIS_RUNNER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 10 matching lines...) Expand all
21 class KioskDiagnosisRunner : public KeyedService { 21 class KioskDiagnosisRunner : public KeyedService {
22 public: 22 public:
23 // Run diagnostic jobs for |app_id|. 23 // Run diagnostic jobs for |app_id|.
24 static void Run(Profile* profile, const std::string& app_id); 24 static void Run(Profile* profile, const std::string& app_id);
25 25
26 private: 26 private:
27 // A BrowserContextKeyedServiceFactory for this service. 27 // A BrowserContextKeyedServiceFactory for this service.
28 class Factory; 28 class Factory;
29 29
30 explicit KioskDiagnosisRunner(Profile* profile); 30 explicit KioskDiagnosisRunner(Profile* profile);
31 virtual ~KioskDiagnosisRunner(); 31 ~KioskDiagnosisRunner() override;
32 32
33 void Start(const std::string& app_id); 33 void Start(const std::string& app_id);
34 34
35 void StartSystemLogCollection(); 35 void StartSystemLogCollection();
36 void SendSysLogFeedback(const extensions::SystemInformationList& sys_info); 36 void SendSysLogFeedback(const extensions::SystemInformationList& sys_info);
37 void OnFeedbackSent(bool sent); 37 void OnFeedbackSent(bool sent);
38 38
39 Profile* profile_; 39 Profile* profile_;
40 std::string app_id_; 40 std::string app_id_;
41 base::WeakPtrFactory<KioskDiagnosisRunner> weak_factory_; 41 base::WeakPtrFactory<KioskDiagnosisRunner> weak_factory_;
42 42
43 DISALLOW_COPY_AND_ASSIGN(KioskDiagnosisRunner); 43 DISALLOW_COPY_AND_ASSIGN(KioskDiagnosisRunner);
44 }; 44 };
45 45
46 } // namespace chromeos 46 } // namespace chromeos
47 47
48 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_DIAGNOSIS_RUNNER_H_ 48 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_DIAGNOSIS_RUNNER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698