OLD | NEW |
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 |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/metrics/histogram.h" | 12 #include "base/metrics/histogram_macros.h" |
13 #include "base/sequenced_task_runner_helpers.h" | 13 #include "base/sequenced_task_runner_helpers.h" |
14 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
15 #include "base/synchronization/waitable_event.h" | 15 #include "base/synchronization/waitable_event.h" |
16 #include "base/version.h" | 16 #include "base/version.h" |
17 #include "build/build_config.h" | 17 #include "build/build_config.h" |
18 #include "content/browser/plugin_service_impl.h" | 18 #include "content/browser/plugin_service_impl.h" |
19 #include "content/browser/renderer_host/pepper/pepper_flash_file_message_filter.
h" | 19 #include "content/browser/renderer_host/pepper/pepper_flash_file_message_filter.
h" |
20 #include "content/common/child_process_host_impl.h" | 20 #include "content/common/child_process_host_impl.h" |
21 #include "content/public/browser/browser_context.h" | 21 #include "content/public/browser/browser_context.h" |
22 #include "content/public/browser/browser_thread.h" | 22 #include "content/public/browser/browser_thread.h" |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |
OLD | NEW |