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

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

Issue 8340028: Salient parts of http://codereview.chromium.org/8392042/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_loader_posix.h" 5 #include "content/browser/plugin_loader_posix.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "base/message_loop_proxy.h" 9 #include "base/message_loop_proxy.h"
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
11 #include "content/browser/browser_thread.h"
12 #include "content/common/utility_messages.h" 11 #include "content/common/utility_messages.h"
12 #include "content/public/browser/browser_thread.h"
13 #include "webkit/plugins/npapi/plugin_list.h" 13 #include "webkit/plugins/npapi/plugin_list.h"
14 14
15 using webkit::npapi::PluginList; 15 using webkit::npapi::PluginList;
16 16
17 PluginLoaderPosix::PluginLoaderPosix() 17 PluginLoaderPosix::PluginLoaderPosix()
18 : next_load_index_(0) { 18 : next_load_index_(0) {
19 } 19 }
20 20
21 void PluginLoaderPosix::LoadPlugins( 21 void PluginLoaderPosix::LoadPlugins(
22 scoped_refptr<base::MessageLoopProxy> target_loop, 22 scoped_refptr<base::MessageLoopProxy> target_loop,
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 157
158 PluginLoaderPosix::PendingCallback::PendingCallback( 158 PluginLoaderPosix::PendingCallback::PendingCallback(
159 scoped_refptr<base::MessageLoopProxy> loop, 159 scoped_refptr<base::MessageLoopProxy> loop,
160 const PluginService::GetPluginsCallback& cb) 160 const PluginService::GetPluginsCallback& cb)
161 : target_loop(loop), 161 : target_loop(loop),
162 callback(cb) { 162 callback(cb) {
163 } 163 }
164 164
165 PluginLoaderPosix::PendingCallback::~PendingCallback() { 165 PluginLoaderPosix::PendingCallback::~PendingCallback() {
166 } 166 }
OLDNEW
« no previous file with comments | « content/browser/net/url_request_slow_download_job.cc ('k') | content/browser/plugin_loader_posix_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698