blob: a6eab42d3d99171bc9e163554e6f824f6dd95558 [file] [log] [blame]
// 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 "shell/android/android_handler_loader.h"
namespace mojo {
namespace shell {
AndroidHandlerLoader::AndroidHandlerLoader() {
}
AndroidHandlerLoader::~AndroidHandlerLoader() {
}
void AndroidHandlerLoader::Load(ApplicationManager* manager,
const GURL& url,
ScopedMessagePipeHandle shell_handle,
LoadCallback callback) {
DCHECK(shell_handle.is_valid());
application_.reset(
new ApplicationImpl(&android_handler_, shell_handle.Pass()));
}
void AndroidHandlerLoader::OnApplicationError(ApplicationManager* manager,
const GURL& url) {
}
} // namespace shell
} // namespace mojo