summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync
diff options
context:
space:
mode:
authorqsr@google.com <qsr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-26 07:45:22 +0000
committerqsr@google.com <qsr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-26 07:45:22 +0000
commit271fe057cfa6cf5d286f3c6ad8bf1ffabffb11f5 (patch)
treea9fde75683269dfcecc1b19cfc50ca305a9d35f9 /chrome/browser/sync
parent9e99d2d5c87de977de0a12645935a52f8a870ea2 (diff)
downloadchromium_src-271fe057cfa6cf5d286f3c6ad8bf1ffabffb11f5.zip
chromium_src-271fe057cfa6cf5d286f3c6ad8bf1ffabffb11f5.tar.gz
chromium_src-271fe057cfa6cf5d286f3c6ad8bf1ffabffb11f5.tar.bz2
Remove unused variable.
BUG= TEST= Review URL: http://codereview.chromium.org/7461022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94055 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync')
-rw-r--r--chrome/browser/sync/glue/session_change_processor.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/sync/glue/session_change_processor.cc b/chrome/browser/sync/glue/session_change_processor.cc
index c967bc5..61abbd7 100644
--- a/chrome/browser/sync/glue/session_change_processor.cc
+++ b/chrome/browser/sync/glue/session_change_processor.cc
@@ -63,14 +63,12 @@ void SessionChangeProcessor::Observe(int type,
// Track which windows and/or tabs are modified.
std::vector<TabContentsWrapper*> modified_tabs;
- bool windows_changed = false;
switch (type) {
case chrome::NOTIFICATION_BROWSER_OPENED: {
Browser* browser = Source<Browser>(source).ptr();
if (browser->profile() != profile_) {
return;
}
- windows_changed = true;
VLOG(1) << "Received BROWSER_OPENED for profile " << profile_;
break;
}
@@ -80,7 +78,6 @@ void SessionChangeProcessor::Observe(int type,
if (tab->profile() != profile_) {
return;
}
- windows_changed = true;
modified_tabs.push_back(tab);
VLOG(1) << "Received TAB_PARENTED for profile " << profile_;
break;
@@ -105,7 +102,6 @@ void SessionChangeProcessor::Observe(int type,
if (!tab || tab->profile() != profile_) {
return;
}
- windows_changed = true;
modified_tabs.push_back(tab);
VLOG(1) << "Received TAB_CLOSED for profile " << profile_;
break;