Switch global error menu icon to vectorized MD asset
[chromium-blink-merge.git] / chrome / browser / chromeos / app_mode / kiosk_app_external_loader.cc
blobfa977ac506cbb7c03c049e7e29cc486a307651b8
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.
5 #include "chrome/browser/chromeos/app_mode/kiosk_app_external_loader.h"
7 #include "base/values.h"
8 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h"
10 namespace chromeos {
12 KioskAppExternalLoader::KioskAppExternalLoader() {
15 KioskAppExternalLoader::~KioskAppExternalLoader() {
18 void KioskAppExternalLoader::SetCurrentAppExtensions(
19 scoped_ptr<base::DictionaryValue> prefs) {
20 prefs_ = prefs.Pass();
21 StartLoading();
24 void KioskAppExternalLoader::StartLoading() {
25 if (prefs_)
26 LoadFinished();
29 } // namespace chromeos