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

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

Issue 5730004: Rename ExtensionsService to ExtensionService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_APPLICATION_LIST_MODEL_H_ 5 #ifndef CHROME_BROWSER_BACKGROUND_APPLICATION_LIST_MODEL_H_
6 #define CHROME_BROWSER_BACKGROUND_APPLICATION_LIST_MODEL_H_ 6 #define CHROME_BROWSER_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>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/observer_list.h" 13 #include "base/observer_list.h"
14 #include "chrome/common/extensions/extension.h" 14 #include "chrome/common/extensions/extension.h"
15 #include "chrome/common/notification_observer.h" 15 #include "chrome/common/notification_observer.h"
16 #include "chrome/common/notification_registrar.h" 16 #include "chrome/common/notification_registrar.h"
17 17
18 class ExtensionsService; 18 class ExtensionService;
19 class PrefService; 19 class PrefService;
20 class Profile; 20 class Profile;
21 21
22 // Model for list of Background Applications, that is, Extensions with 22 // Model for list of Background Applications, that is, Extensions with
23 // kBackgroundPermission set, associated with a Profile. 23 // kBackgroundPermission set, associated with a Profile.
24 class BackgroundApplicationListModel : public NotificationObserver { 24 class BackgroundApplicationListModel : public NotificationObserver {
25 public: 25 public:
26 // Observer is informed of changes to the model. Users of the 26 // Observer is informed of changes to the model. Users of the
27 // BackgroundApplicationListModel should anticipate that associated data, 27 // BackgroundApplicationListModel should anticipate that associated data,
28 // e. g. the Icon, may exist and yet not be immediately available. When the 28 // e. g. the Icon, may exist and yet not be immediately available. When the
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 ApplicationMap applications_; 129 ApplicationMap applications_;
130 ExtensionList extensions_; 130 ExtensionList extensions_;
131 ObserverList<Observer> observers_; 131 ObserverList<Observer> observers_;
132 Profile* profile_; 132 Profile* profile_;
133 NotificationRegistrar registrar_; 133 NotificationRegistrar registrar_;
134 134
135 DISALLOW_COPY_AND_ASSIGN(BackgroundApplicationListModel); 135 DISALLOW_COPY_AND_ASSIGN(BackgroundApplicationListModel);
136 }; 136 };
137 137
138 #endif // CHROME_BROWSER_BACKGROUND_APPLICATION_LIST_MODEL_H_ 138 #endif // CHROME_BROWSER_BACKGROUND_APPLICATION_LIST_MODEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.cc ('k') | chrome/browser/background_application_list_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698