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
3 // found in the LICENSE file.
5 #ifndef APPS_APPS_CLIENT_H_
6 #define APPS_APPS_CLIENT_H_
16 // Sets up global state for the apps system. Should be Set() once in each
17 // process. This should be implemented by the client of the apps system.
20 // Get all loaded browser contexts.
21 virtual std::vector
<content::BrowserContext
*> GetLoadedBrowserContexts() = 0;
23 // Return the apps client.
24 static AppsClient
* Get();
26 // Initialize the apps system with this apps client.
27 static void Set(AppsClient
* client
);
32 #endif // APPS_APPS_CLIENT_H_