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

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

Issue 623293003: replace OVERRIDE and FINAL with override and final in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format on echo_dialog_view.h 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 #include "chrome/browser/chromeos/app_mode/kiosk_diagnosis_runner.h" 5 #include "chrome/browser/chromeos/app_mode/kiosk_diagnosis_runner.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/singleton.h" 8 #include "base/memory/singleton.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
(...skipping 30 matching lines...) Expand all
41 BrowserContextDependencyManager::GetInstance()) { 41 BrowserContextDependencyManager::GetInstance()) {
42 DependsOn(extensions::ExtensionsBrowserClient::Get() 42 DependsOn(extensions::ExtensionsBrowserClient::Get()
43 ->GetExtensionSystemFactory()); 43 ->GetExtensionSystemFactory());
44 DependsOn(extensions::FeedbackPrivateAPI::GetFactoryInstance()); 44 DependsOn(extensions::FeedbackPrivateAPI::GetFactoryInstance());
45 } 45 }
46 46
47 virtual ~Factory() {} 47 virtual ~Factory() {}
48 48
49 // BrowserContextKeyedServiceFactory overrides: 49 // BrowserContextKeyedServiceFactory overrides:
50 virtual KeyedService* BuildServiceInstanceFor( 50 virtual KeyedService* BuildServiceInstanceFor(
51 content::BrowserContext* context) const OVERRIDE { 51 content::BrowserContext* context) const override {
52 Profile* profile = static_cast<Profile*>(context); 52 Profile* profile = static_cast<Profile*>(context);
53 return new KioskDiagnosisRunner(profile); 53 return new KioskDiagnosisRunner(profile);
54 } 54 }
55 55
56 private: 56 private:
57 DISALLOW_COPY_AND_ASSIGN(Factory); 57 DISALLOW_COPY_AND_ASSIGN(Factory);
58 }; 58 };
59 59
60 // static 60 // static
61 void KioskDiagnosisRunner::Run(Profile* profile, 61 void KioskDiagnosisRunner::Run(Profile* profile,
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 feedback_data, 120 feedback_data,
121 base::Bind(&KioskDiagnosisRunner::OnFeedbackSent, 121 base::Bind(&KioskDiagnosisRunner::OnFeedbackSent,
122 weak_factory_.GetWeakPtr())); 122 weak_factory_.GetWeakPtr()));
123 } 123 }
124 124
125 void KioskDiagnosisRunner::OnFeedbackSent(bool) { 125 void KioskDiagnosisRunner::OnFeedbackSent(bool) {
126 // Do nothing. 126 // Do nothing.
127 } 127 }
128 128
129 } // namespace chromeos 129 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698