diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-29 18:25:54 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-29 18:25:54 +0000 |
commit | 3ee4b5348e0f213c31cc5cc5380bec88f2345f06 (patch) | |
tree | 48ca1926ef03f09eaf4b4ecd6fca62f8b9923252 /chrome/browser | |
parent | 813149f8eae2381d0e788c611035574fbb1fd4c1 (diff) | |
download | chromium_src-3ee4b5348e0f213c31cc5cc5380bec88f2345f06.zip chromium_src-3ee4b5348e0f213c31cc5cc5380bec88f2345f06.tar.gz chromium_src-3ee4b5348e0f213c31cc5cc5380bec88f2345f06.tar.bz2 |
Coverity: Initialize all member variables in the default constructor.
CID=1315
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/243029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27515 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/tab_contents/navigation_controller.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/tab_contents/navigation_controller.h b/chrome/browser/tab_contents/navigation_controller.h index 7374d38..24b3a86 100644 --- a/chrome/browser/tab_contents/navigation_controller.h +++ b/chrome/browser/tab_contents/navigation_controller.h @@ -6,6 +6,8 @@ #define CHROME_BROWSER_TAB_CONTENTS_NAVIGATION_CONTROLLER_H_ #include <map> +#include <string> +#include <vector> #include "build/build_config.h" @@ -55,10 +57,14 @@ class NavigationController { // navigation. LoadCommittedDetails() : entry(NULL), + type(NavigationType::UNKNOWN), + previous_entry_index(-1), is_auto(false), did_replace_entry(false), is_in_page(false), - is_main_frame(true) { + is_main_frame(true), + is_content_filtered(false), + http_status_code(0) { } // The committed entry. This will be the active entry in the controller. |