diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-22 00:58:58 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-22 00:58:58 +0000 |
commit | 11c2688a90c8626c77e4855d601d9e7b180e51fc (patch) | |
tree | 81966be2fe14d4a6a489c81029a03a66534ea5e4 /chrome/common/chrome_plugin_lib.cc | |
parent | 5dc6e5c358d5ee756e7fdac33cd257e7b17d94e3 (diff) | |
download | chromium_src-11c2688a90c8626c77e4855d601d9e7b180e51fc.zip chromium_src-11c2688a90c8626c77e4855d601d9e7b180e51fc.tar.gz chromium_src-11c2688a90c8626c77e4855d601d9e7b180e51fc.tar.bz2 |
Convert LOG(INFO) to VLOG(1) - chrome/common/.
This also removes LOG_RESOURCE_REQUESTS and all associated code.
Also remove some "using"s, fix non-const ref (style violation), remove some "else" after "return", and remove some extra {}s.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3941001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63462 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_plugin_lib.cc')
-rw-r--r-- | chrome/common/chrome_plugin_lib.cc | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/chrome/common/chrome_plugin_lib.cc b/chrome/common/chrome_plugin_lib.cc index f0dd8c1..3277f4a 100644 --- a/chrome/common/chrome_plugin_lib.cc +++ b/chrome/common/chrome_plugin_lib.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. @@ -198,8 +198,8 @@ ChromePluginLib::~ChromePluginLib() { } bool ChromePluginLib::CP_Initialize(const CPBrowserFuncs* bfuncs) { - LOG(INFO) << "ChromePluginLib::CP_Initialize(" << filename_.value() << - "): initialized=" << initialized_; + VLOG(1) << "ChromePluginLib::CP_Initialize(" << filename_.value() + << "): initialized=" << initialized_; if (initialized_) return true; @@ -210,7 +210,7 @@ bool ChromePluginLib::CP_Initialize(const CPBrowserFuncs* bfuncs) { uint16 selected_version = 0; CPError rv = CP_VersionNegotiate_(CP_VERSION, CP_VERSION, &selected_version); - if ( (rv != CPERR_SUCCESS) || (selected_version != CP_VERSION)) + if ((rv != CPERR_SUCCESS) || (selected_version != CP_VERSION)) return false; } @@ -219,9 +219,8 @@ bool ChromePluginLib::CP_Initialize(const CPBrowserFuncs* bfuncs) { initialized_ = (rv == CPERR_SUCCESS) && (CP_GET_MAJOR_VERSION(plugin_funcs_.version) == CP_MAJOR_VERSION) && (CP_GET_MINOR_VERSION(plugin_funcs_.version) <= CP_MINOR_VERSION); - LOG(INFO) << "ChromePluginLib::CP_Initialize(" << filename_.value() << - "): initialized=" << initialized_ << - "): result=" << rv; + VLOG(1) << "ChromePluginLib::CP_Initialize(" << filename_.value() + << "): initialized=" << initialized_ << "): result=" << rv; return initialized_; } |