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

Side by Side Diff: chrome/browser/component_updater/component_patcher_operation_out_of_process.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 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/component_updater/component_patcher_operation_out_of_pr ocess.h" 5 #include "chrome/browser/component_updater/component_patcher_operation_out_of_pr ocess.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 15 matching lines...) Expand all
26 scoped_refptr<base::SequencedTaskRunner> task_runner); 26 scoped_refptr<base::SequencedTaskRunner> task_runner);
27 27
28 void StartProcess(scoped_ptr<IPC::Message> message); 28 void StartProcess(scoped_ptr<IPC::Message> message);
29 29
30 private: 30 private:
31 virtual ~PatchHost(); 31 virtual ~PatchHost();
32 32
33 void OnPatchFinished(int result); 33 void OnPatchFinished(int result);
34 34
35 // Overrides of content::UtilityProcessHostClient. 35 // Overrides of content::UtilityProcessHostClient.
36 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 36 virtual bool OnMessageReceived(const IPC::Message& message) override;
37 37
38 virtual void OnProcessCrashed(int exit_code) OVERRIDE; 38 virtual void OnProcessCrashed(int exit_code) override;
39 39
40 base::Callback<void(int result)> callback_; 40 base::Callback<void(int result)> callback_;
41 scoped_refptr<base::SequencedTaskRunner> task_runner_; 41 scoped_refptr<base::SequencedTaskRunner> task_runner_;
42 }; 42 };
43 43
44 PatchHost::PatchHost(base::Callback<void(int result)> callback, 44 PatchHost::PatchHost(base::Callback<void(int result)> callback,
45 scoped_refptr<base::SequencedTaskRunner> task_runner) 45 scoped_refptr<base::SequencedTaskRunner> task_runner)
46 : callback_(callback), task_runner_(task_runner) { 46 : callback_(callback), task_runner_(task_runner) {
47 } 47 }
48 48
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 } 103 }
104 104
105 content::BrowserThread::PostTask( 105 content::BrowserThread::PostTask(
106 content::BrowserThread::IO, 106 content::BrowserThread::IO,
107 FROM_HERE, 107 FROM_HERE,
108 base::Bind( 108 base::Bind(
109 &PatchHost::StartProcess, host_, base::Passed(&patch_message))); 109 &PatchHost::StartProcess, host_, base::Passed(&patch_message)));
110 } 110 }
111 111
112 } // namespace component_updater 112 } // namespace component_updater
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698