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

Side by Side Diff: content/browser/download/mhtml_generation_manager.cc

Issue 638503002: Replacing the OVERRIDE with override and FINAL with final in content/browser/[download|… (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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/browser/download/mhtml_generation_manager.h" 5 #include "content/browser/download/mhtml_generation_manager.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/files/file.h" 8 #include "base/files/file.h"
9 #include "base/stl_util.h" 9 #include "base/stl_util.h"
10 #include "content/browser/renderer_host/render_view_host_impl.h" 10 #include "content/browser/renderer_host/render_view_host_impl.h"
(...skipping 18 matching lines...) Expand all
29 int process_id() { return process_id_; } 29 int process_id() { return process_id_; }
30 int routing_id() { return routing_id_; } 30 int routing_id() { return routing_id_; }
31 31
32 GenerateMHTMLCallback callback() { return callback_; } 32 GenerateMHTMLCallback callback() { return callback_; }
33 void set_callback(GenerateMHTMLCallback callback) { callback_ = callback; } 33 void set_callback(GenerateMHTMLCallback callback) { callback_ = callback; }
34 34
35 // RenderProcessHostObserver: 35 // RenderProcessHostObserver:
36 virtual void RenderProcessExited(RenderProcessHost* host, 36 virtual void RenderProcessExited(RenderProcessHost* host,
37 base::ProcessHandle handle, 37 base::ProcessHandle handle,
38 base::TerminationStatus status, 38 base::TerminationStatus status,
39 int exit_code) OVERRIDE; 39 int exit_code) override;
40 virtual void RenderProcessHostDestroyed(RenderProcessHost* host) OVERRIDE; 40 virtual void RenderProcessHostDestroyed(RenderProcessHost* host) override;
41 41
42 42
43 private: 43 private:
44 // The handle to the file the MHTML is saved to for the browser process. 44 // The handle to the file the MHTML is saved to for the browser process.
45 base::File browser_file_; 45 base::File browser_file_;
46 46
47 // The IDs mapping to a specific contents. 47 // The IDs mapping to a specific contents.
48 int process_id_; 48 int process_id_;
49 int routing_id_; 49 int routing_id_;
50 50
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 ++it) { 232 ++it) {
233 if (it->second == job) { 233 if (it->second == job) {
234 JobFinished(it->first, -1); 234 JobFinished(it->first, -1);
235 return; 235 return;
236 } 236 }
237 } 237 }
238 NOTREACHED(); 238 NOTREACHED();
239 } 239 }
240 240
241 } // namespace content 241 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/download/file_metadata_unittest_linux.cc ('k') | content/browser/download/save_file_resource_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698