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

Side by Side Diff: chrome/browser/apps/app_shim/extension_app_shim_handler_mac.cc

Issue 625113002: replace OVERRIDE and FINAL with override and final in chrome/browser/[a-i]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix newly added OVERRIDEs 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/apps/app_shim/extension_app_shim_handler_mac.h" 5 #include "chrome/browser/apps/app_shim/extension_app_shim_handler_mac.h"
6 6
7 #include "apps/app_lifetime_monitor_factory.h" 7 #include "apps/app_lifetime_monitor_factory.h"
8 #include "apps/launcher.h" 8 #include "apps/launcher.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 } 96 }
97 97
98 void Run() { 98 void Run() {
99 flow_.reset(new ExtensionEnableFlow(profile_, extension_id_, this)); 99 flow_.reset(new ExtensionEnableFlow(profile_, extension_id_, this));
100 flow_->StartForCurrentlyNonexistentWindow( 100 flow_->StartForCurrentlyNonexistentWindow(
101 base::Callback<gfx::NativeWindow(void)>()); 101 base::Callback<gfx::NativeWindow(void)>());
102 } 102 }
103 103
104 private: 104 private:
105 // ExtensionEnableFlowDelegate overrides. 105 // ExtensionEnableFlowDelegate overrides.
106 virtual void ExtensionEnableFlowFinished() OVERRIDE { 106 virtual void ExtensionEnableFlowFinished() override {
107 callback_.Run(); 107 callback_.Run();
108 delete this; 108 delete this;
109 } 109 }
110 110
111 virtual void ExtensionEnableFlowAborted(bool user_initiated) OVERRIDE { 111 virtual void ExtensionEnableFlowAborted(bool user_initiated) override {
112 callback_.Run(); 112 callback_.Run();
113 delete this; 113 delete this;
114 } 114 }
115 115
116 Profile* profile_; 116 Profile* profile_;
117 std::string extension_id_; 117 std::string extension_id_;
118 base::Callback<void()> callback_; 118 base::Callback<void()> callback_;
119 scoped_ptr<ExtensionEnableFlow> flow_; 119 scoped_ptr<ExtensionEnableFlow> flow_;
120 120
121 DISALLOW_COPY_AND_ASSIGN(EnableViaPrompt); 121 DISALLOW_COPY_AND_ASSIGN(EnableViaPrompt);
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 if (hosts_.empty()) 548 if (hosts_.empty())
549 delegate_->MaybeTerminate(); 549 delegate_->MaybeTerminate();
550 } 550 }
551 551
552 void ExtensionAppShimHandler::OnAppStop(Profile* profile, 552 void ExtensionAppShimHandler::OnAppStop(Profile* profile,
553 const std::string& app_id) {} 553 const std::string& app_id) {}
554 554
555 void ExtensionAppShimHandler::OnChromeTerminating() {} 555 void ExtensionAppShimHandler::OnChromeTerminating() {}
556 556
557 } // namespace apps 557 } // namespace apps
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698