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

Side by Side Diff: content/browser/plugin_data_remover_impl.cc

Issue 2317243002: Rename off the record to incognito in ppapi plugin process (Closed)
Patch Set: Created 4 years, 3 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/plugin_data_remover_impl.h" 5 #include "content/browser/plugin_data_remover_impl.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <limits> 9 #include <limits>
10 10
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 plugin_service->OpenChannelToPpapiBroker(0, plugin_path, this); 120 plugin_service->OpenChannelToPpapiBroker(0, plugin_path, this);
121 } 121 }
122 122
123 // Called when a timeout happens in order not to block the client 123 // Called when a timeout happens in order not to block the client
124 // indefinitely. 124 // indefinitely.
125 void OnTimeout() { 125 void OnTimeout() {
126 LOG_IF(ERROR, is_removing_) << "Timed out"; 126 LOG_IF(ERROR, is_removing_) << "Timed out";
127 SignalDone(); 127 SignalDone();
128 } 128 }
129 129
130 bool OffTheRecord() override { return false; } 130 bool Incognito() override { return false; }
131 131
132 // PpapiPluginProcessHost::BrokerClient implementation. 132 // PpapiPluginProcessHost::BrokerClient implementation.
133 void GetPpapiChannelInfo(base::ProcessHandle* renderer_handle, 133 void GetPpapiChannelInfo(base::ProcessHandle* renderer_handle,
134 int* renderer_id) override { 134 int* renderer_id) override {
135 *renderer_handle = base::kNullProcessHandle; 135 *renderer_handle = base::kNullProcessHandle;
136 *renderer_id = 0; 136 *renderer_id = 0;
137 } 137 }
138 138
139 void OnPpapiChannelOpened(const IPC::ChannelHandle& channel_handle, 139 void OnPpapiChannelOpened(const IPC::ChannelHandle& channel_handle,
140 base::ProcessId /* peer_pid */, 140 base::ProcessId /* peer_pid */,
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 266
267 base::WaitableEvent* PluginDataRemoverImpl::StartRemoving( 267 base::WaitableEvent* PluginDataRemoverImpl::StartRemoving(
268 base::Time begin_time) { 268 base::Time begin_time) {
269 DCHECK(!context_.get()); 269 DCHECK(!context_.get());
270 context_ = new Context(begin_time, browser_context_); 270 context_ = new Context(begin_time, browser_context_);
271 context_->Init(mime_type_); 271 context_->Init(mime_type_);
272 return context_->event(); 272 return context_->event();
273 } 273 }
274 274
275 } // namespace content 275 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/pepper_flash_settings_helper_impl.cc ('k') | content/browser/ppapi_plugin_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698