summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_browser_actions_api.h
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-23 09:15:51 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-23 09:15:51 +0000
commit9931fbfcb5b893ca4c5a9ac10051a12eba0b87c9 (patch)
tree63b3ff55a9f9d31d7dbdd76116ecdb1aa5a37ccc /chrome/browser/extensions/extension_browser_actions_api.h
parentb3fbfaad0573992ed5224437e6fe24b1587c96bf (diff)
downloadchromium_src-9931fbfcb5b893ca4c5a9ac10051a12eba0b87c9.zip
chromium_src-9931fbfcb5b893ca4c5a9ac10051a12eba0b87c9.tar.gz
chromium_src-9931fbfcb5b893ca4c5a9ac10051a12eba0b87c9.tar.bz2
Coverity: Fix a collection of uninitialized member variables, mostly in extensions code, but some random ones outside extensions code as well.
dhollowa : issue 11558: render_view_host.cc rafaelw : issue 11055: extension_browser_event_router.cc mirandac : issue 9443: profile_import_thread.cc estade : issue 9321: info_bubble_gtk.cc phajdan.jr: issue 8308: extensions_service_unittest.cc phajdan.jr: issue 8309: extensions_service_unittest.cc asargent : issue 8307: extension_browsertest.cc asargent : issue 7610: extension_browser_actions_api.h rafaelw : issue 2289: extension_function.cc BUG=None (Coverity issue id listed above) TEST=None Review URL: http://codereview.chromium.org/2832070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53451 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_browser_actions_api.h')
-rw-r--r--chrome/browser/extensions/extension_browser_actions_api.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_browser_actions_api.h b/chrome/browser/extensions/extension_browser_actions_api.h
index c958cb3..007d194 100644
--- a/chrome/browser/extensions/extension_browser_actions_api.h
+++ b/chrome/browser/extensions/extension_browser_actions_api.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 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.
@@ -13,7 +13,10 @@ class ExtensionAction;
// Base class for chrome.browserAction.* APIs.
class BrowserActionFunction : public SyncExtensionFunction {
protected:
- BrowserActionFunction() : tab_id_(ExtensionAction::kDefaultTabId) {}
+ BrowserActionFunction()
+ : details_(NULL),
+ tab_id_(ExtensionAction::kDefaultTabId),
+ browser_action_(NULL) {}
virtual ~BrowserActionFunction() {}
virtual bool RunImpl();
virtual bool RunBrowserAction() = 0;