From bfd04a62ce610d7bb61dbb78811dccbed23589b7 Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Sun, 1 Feb 2009 18:16:56 +0000 Subject: Remove most header file dependencies on the notification type list. It is really painful to add more types, since lots of headers include the notification service to derive from the notification observer. This splits that out, so much less of the project should end up including notification_types.h ---Paths modified but not in any changelist: Review URL: http://codereview.chromium.org/19744 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9020 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/views/view_storage.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'chrome/views/view_storage.h') diff --git a/chrome/views/view_storage.h b/chrome/views/view_storage.h index b343139..a965158 100644 --- a/chrome/views/view_storage.h +++ b/chrome/views/view_storage.h @@ -2,10 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef CHROME_VIEWS_VIEW_STORAGE_H__ -#define CHROME_VIEWS_VIEW_STORAGE_H__ +#ifndef CHROME_VIEWS_VIEW_STORAGE_H_ +#define CHROME_VIEWS_VIEW_STORAGE_H_ -#include "chrome/common/notification_service.h" +#include "chrome/common/notification_observer.h" #include "chrome/views/view.h" // This class is a simple storage place for storing/retrieving views. It is @@ -72,10 +72,9 @@ class ViewStorage : public NotificationObserver { // The singleton instance. static ViewStorage* shared_instance_; - DISALLOW_EVIL_CONSTRUCTORS(ViewStorage); + DISALLOW_COPY_AND_ASSIGN(ViewStorage); }; } // namespace views -#endif // #ifndef CHROME_VIEWS_VIEW_STORAGE_H__ - +#endif // #ifndef CHROME_VIEWS_VIEW_STORAGE_H_ -- cgit v1.1