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

Side by Side Diff: chrome/browser/chromeos/app_mode/kiosk_app_external_loader.h

Issue 300843013: Install and launch kiosk app from cached crx file at start up. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ExternalProviderImplChromeOSTest.AppMode test case. Created 6 years, 5 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
(Empty)
1 // Copyright 2014 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.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_EXTERNAL_LOADER_H_
6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_EXTERNAL_LOADER_H_
7
8 #include "base/memory/weak_ptr.h"
9 #include "base/values.h"
10 #include "chrome/browser/extensions/external_loader.h"
11
12 namespace chromeos {
13
14 // A custom extensions::ExternalLoader that is created by KioskAppManager and
15 // used for install kiosk app extensions.
16 class KioskAppExternalLoader
17 : public extensions::ExternalLoader,
18 public base::SupportsWeakPtr<KioskAppExternalLoader> {
19 public:
20 KioskAppExternalLoader();
21
22 // Sets current kiosk app extensions to be loaded.
23 void SetCurrentAppExtensions(scoped_ptr<base::DictionaryValue> prefs);
xiyuan 2014/07/08 21:50:59 nit: #include "base/memory/scoped_ptr.h"
jennyz 2014/07/12 00:03:20 Done.
24
25 // extensions::ExternalLoader overrides:
26 virtual void StartLoading() OVERRIDE;
27
28 private:
29 virtual ~KioskAppExternalLoader();
30
31 base::DictionaryValue kiosk_apps_;
32
33 DISALLOW_COPY_AND_ASSIGN(KioskAppExternalLoader);
34 };
35
36 } // namespace chromeos
37
38 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_EXTERNAL_LOADER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698