Add long running gmail memory benchmark for background tab.
[chromium-blink-merge.git] / mojo / runner / android / android_handler_loader.cc
blobcda33cf402b7a544237890dfb8566e3b11c7751e
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 "mojo/runner/android/android_handler_loader.h"
7 namespace mojo {
8 namespace runner {
10 AndroidHandlerLoader::AndroidHandlerLoader() {
13 AndroidHandlerLoader::~AndroidHandlerLoader() {
16 void AndroidHandlerLoader::Load(
17 const GURL& url,
18 InterfaceRequest<Application> application_request) {
19 DCHECK(application_request.is_pending());
20 application_.reset(
21 new ApplicationImpl(&android_handler_, application_request.Pass()));
24 } // namespace runner
25 } // namespace mojo