diff options
author | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-28 23:45:45 +0000 |
---|---|---|
committer | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-28 23:45:45 +0000 |
commit | 0e3947d01bc982d985a4b650b46237e8b0f7b33c (patch) | |
tree | dccb306a7882e811fece0d57fd9247cd2f7a4e09 /content | |
parent | 609a05f2dbc3803fd78dd982c9e8dbfe35f5833d (diff) | |
download | chromium_src-0e3947d01bc982d985a4b650b46237e8b0f7b33c.zip chromium_src-0e3947d01bc982d985a4b650b46237e8b0f7b33c.tar.gz chromium_src-0e3947d01bc982d985a4b650b46237e8b0f7b33c.tar.bz2 |
chromeos: Add logging to pepper plugin loading.
So that we could see whether those plugins would be related with the
VMTests timed out.
BUG=chromium-os:26646
TEST=none.
Review URL: http://codereview.chromium.org/9477021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124053 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r-- | content/common/pepper_plugin_registry.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/content/common/pepper_plugin_registry.cc b/content/common/pepper_plugin_registry.cc index be7529d..4c688e2 100644 --- a/content/common/pepper_plugin_registry.cc +++ b/content/common/pepper_plugin_registry.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -137,6 +137,11 @@ void PepperPluginRegistry::PreloadModules() { std::string error; base::NativeLibrary library = base::LoadNativeLibrary(plugins[i].path, &error); +#if defined(OS_CHROMEOS) + // TODO(xiyuan): Remove this once crosbug.com/26646 is resolved. + LOG(ERROR) << "#### PepperPluginRegistry::PreloadModules" + << ", path=" << plugins[i].path.value(); +#endif // defined (OS_CHROMEOS) DLOG_IF(WARNING, !library) << "Unable to load plugin " << plugins[i].path.value() << " " << error; |