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

Side by Side Diff: chrome/browser/background/background_application_list_model.h

Issue 8612007: Add OVERRIDE to chrome/browser/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_BACKGROUND_BACKGROUND_APPLICATION_LIST_MODEL_H_ 5 #ifndef CHROME_BROWSER_BACKGROUND_BACKGROUND_APPLICATION_LIST_MODEL_H_
6 #define CHROME_BROWSER_BACKGROUND_BACKGROUND_APPLICATION_LIST_MODEL_H_ 6 #define CHROME_BROWSER_BACKGROUND_BACKGROUND_APPLICATION_LIST_MODEL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 // Returns the Application associated with |extension| or NULL. 99 // Returns the Application associated with |extension| or NULL.
100 const Application* FindApplication(const Extension* extension) const; 100 const Application* FindApplication(const Extension* extension) const;
101 101
102 // Returns the Application associated with |extension| or NULL. 102 // Returns the Application associated with |extension| or NULL.
103 Application* FindApplication(const Extension* extension); 103 Application* FindApplication(const Extension* extension);
104 104
105 // content::NotificationObserver implementation. 105 // content::NotificationObserver implementation.
106 virtual void Observe(int type, 106 virtual void Observe(int type,
107 const content::NotificationSource& source, 107 const content::NotificationSource& source,
108 const content::NotificationDetails& details); 108 const content::NotificationDetails& details) OVERRIDE;
109 109
110 // Notifies observers that some of the data associated with this background 110 // Notifies observers that some of the data associated with this background
111 // application, e. g. the Icon, has changed. 111 // application, e. g. the Icon, has changed.
112 void SendApplicationDataChangedNotifications(const Extension* extension); 112 void SendApplicationDataChangedNotifications(const Extension* extension);
113 113
114 // Notifies observers that at least one background application has been added 114 // Notifies observers that at least one background application has been added
115 // or removed. 115 // or removed.
116 void SendApplicationListChangedNotifications(); 116 void SendApplicationListChangedNotifications();
117 117
118 // Invoked by Observe for NOTIFICATION_EXTENSION_LOADED. 118 // Invoked by Observe for NOTIFICATION_EXTENSION_LOADED.
(...skipping 14 matching lines...) Expand all
133 ApplicationMap applications_; 133 ApplicationMap applications_;
134 ExtensionList extensions_; 134 ExtensionList extensions_;
135 ObserverList<Observer> observers_; 135 ObserverList<Observer> observers_;
136 Profile* profile_; 136 Profile* profile_;
137 content::NotificationRegistrar registrar_; 137 content::NotificationRegistrar registrar_;
138 138
139 DISALLOW_COPY_AND_ASSIGN(BackgroundApplicationListModel); 139 DISALLOW_COPY_AND_ASSIGN(BackgroundApplicationListModel);
140 }; 140 };
141 141
142 #endif // CHROME_BROWSER_BACKGROUND_BACKGROUND_APPLICATION_LIST_MODEL_H_ 142 #endif // CHROME_BROWSER_BACKGROUND_BACKGROUND_APPLICATION_LIST_MODEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698