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

Side by Side Diff: trunk/src/apps/app_shim/app_shim_handler_mac.h

Issue 164613002: Revert 251094 "Revert 250826 "Remove Profile dependency from app..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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
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_SHIM_APP_SHIM_HANDLER_MAC_H_ 5 #ifndef APPS_APP_SHIM_APP_SHIM_HANDLER_MAC_H_
6 #define APPS_APP_SHIM_APP_SHIM_HANDLER_MAC_H_ 6 #define APPS_APP_SHIM_APP_SHIM_HANDLER_MAC_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "apps/app_shim/app_shim_launch.h" 11 #include "apps/app_shim/app_shim_launch.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 13
14 class Profile;
15
16 namespace apps { 14 namespace apps {
17 15
18 // Registrar, and interface for services that can handle interactions with OSX 16 // Registrar, and interface for services that can handle interactions with OSX
19 // shim processes. 17 // shim processes.
20 class AppShimHandler { 18 class AppShimHandler {
21 public: 19 public:
22 class Host { 20 class Host {
23 public: 21 public:
24 // Invoked when the app is successfully launched. 22 // Invoked when the app is successfully launched.
25 virtual void OnAppLaunchComplete(AppShimLaunchResult result) = 0; 23 virtual void OnAppLaunchComplete(AppShimLaunchResult result) = 0;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 virtual void OnShimQuit(Host* host) = 0; 82 virtual void OnShimQuit(Host* host) = 0;
85 83
86 protected: 84 protected:
87 AppShimHandler() {} 85 AppShimHandler() {}
88 virtual ~AppShimHandler() {} 86 virtual ~AppShimHandler() {}
89 }; 87 };
90 88
91 } // namespace apps 89 } // namespace apps
92 90
93 #endif // APPS_APP_SHIM_APP_SHIM_HANDLER_MAC_H_ 91 #endif // APPS_APP_SHIM_APP_SHIM_HANDLER_MAC_H_
OLDNEW
« no previous file with comments | « trunk/src/apps/app_lifetime_monitor.cc ('k') | trunk/src/apps/app_shim/extension_app_shim_handler_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698