blob: fa977ac506cbb7c03c049e7e29cc486a307651b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/app_mode/kiosk_app_external_loader.h"
#include "base/values.h"
#include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h"
namespace chromeos {
KioskAppExternalLoader::KioskAppExternalLoader() {
}
KioskAppExternalLoader::~KioskAppExternalLoader() {
}
void KioskAppExternalLoader::SetCurrentAppExtensions(
scoped_ptr<base::DictionaryValue> prefs) {
prefs_ = prefs.Pass();
StartLoading();
}
void KioskAppExternalLoader::StartLoading() {
if (prefs_)
LoadFinished();
}
} // namespace chromeos
|