Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(512)

Unified Diff: chrome/browser/browser_list.h

Issue 179028: Revert "Fix a ton of compiler warnings." (Closed)
Patch Set: Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/bookmarks/bookmark_service.h ('k') | chrome/browser/browser_theme_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_list.h
diff --git a/chrome/browser/browser_list.h b/chrome/browser/browser_list.h
index 20c360dfb94cf54ef73df7bb8cb01ab77961c1f7..fda1aa43af3c9121591ee10537282e28f24c2534 100644
--- a/chrome/browser/browser_list.h
+++ b/chrome/browser/browser_list.h
@@ -1,9 +1,9 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2006-2008 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.
-#ifndef CHROME_BROWSER_BROWSER_LIST_H_
-#define CHROME_BROWSER_BROWSER_LIST_H_
+#ifndef CHROME_BROWSER_BROWSER_LIST_H__
+#define CHROME_BROWSER_BROWSER_LIST_H__
#include <vector>
@@ -28,10 +28,7 @@ class BrowserList {
virtual void OnBrowserRemoving(const Browser* browser) = 0;
// Called immediately after a browser is set active (SetLastActive)
- virtual void OnBrowserSetLastActive(const Browser* browser) {};
-
- protected:
- ~Observer() {};
+ virtual void OnBrowserSetLastActive(const Browser* browser) { };
};
// Adds and removes browsers from the global list. The browser object should
@@ -194,4 +191,4 @@ class TabContentsIterator {
TabContents* cur_;
};
-#endif // CHROME_BROWSER_BROWSER_LIST_H_
+#endif // CHROME_BROWSER_BROWSER_LIST_H__
« no previous file with comments | « chrome/browser/bookmarks/bookmark_service.h ('k') | chrome/browser/browser_theme_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698