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

Side by Side Diff: apps/app_load_service.h

Issue 166573005: Rename apps::ShellWindow to apps::AppWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, nits (rename) Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « apps/app_lifetime_monitor_factory.cc ('k') | apps/app_load_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 APPS_APP_LOAD_SERVICE_H_ 5 #ifndef APPS_APP_LOAD_SERVICE_H_
6 #define APPS_APP_LOAD_SERVICE_H_ 6 #define APPS_APP_LOAD_SERVICE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 const base::FilePath& current_dir); 57 const base::FilePath& current_dir);
58 58
59 static AppLoadService* Get(Profile* profile); 59 static AppLoadService* Get(Profile* profile);
60 60
61 private: 61 private:
62 // content::NotificationObserver. 62 // content::NotificationObserver.
63 virtual void Observe(int type, 63 virtual void Observe(int type,
64 const content::NotificationSource& source, 64 const content::NotificationSource& source,
65 const content::NotificationDetails& details) OVERRIDE; 65 const content::NotificationDetails& details) OVERRIDE;
66 66
67 bool HasShellWindows(const std::string& extension_id); 67 bool HasAppWindows(const std::string& extension_id);
68 bool WasUnloadedForReload( 68 bool WasUnloadedForReload(
69 const extensions::UnloadedExtensionInfo& unload_info); 69 const extensions::UnloadedExtensionInfo& unload_info);
70 bool HasPostReloadAction(const std::string& extension_id); 70 bool HasPostReloadAction(const std::string& extension_id);
71 71
72 // Map of extension id to reload action. Absence from the map implies 72 // Map of extension id to reload action. Absence from the map implies
73 // no action. 73 // no action.
74 std::map<std::string, PostReloadAction> post_reload_actions_; 74 std::map<std::string, PostReloadAction> post_reload_actions_;
75 content::NotificationRegistrar registrar_; 75 content::NotificationRegistrar registrar_;
76 Profile* profile_; 76 Profile* profile_;
77 77
78 DISALLOW_COPY_AND_ASSIGN(AppLoadService); 78 DISALLOW_COPY_AND_ASSIGN(AppLoadService);
79 }; 79 };
80 80
81 } // namespace apps 81 } // namespace apps
82 82
83 #endif // APPS_APP_LOAD_SERVICE_H_ 83 #endif // APPS_APP_LOAD_SERVICE_H_
OLDNEW
« no previous file with comments | « apps/app_lifetime_monitor_factory.cc ('k') | apps/app_load_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698