blob: 70b2a9c971b756a3d756a65b0b691b5207cddca5 [file] [log] [blame]
// Copyright 2020 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/web_applications/crosh_loader.h"
#include "chrome/browser/chromeos/web_applications/terminal_source.h"
#include "chrome/browser/profiles/profile.h"
#include "content/public/browser/url_data_source.h"
CroshLoader::CroshLoader(Profile* profile) {
content::URLDataSource::Add(profile, TerminalSource::ForCrosh(profile));
}
CroshLoader::~CroshLoader() = default;