blob: b34200a53e15f96b142c86795e48d4bd0efa1ffb [file] [log] [blame]
// Copyright 2015 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 "ash/test/content/test_shell_content_state.h"
#include "content/public/test/test_browser_context.h"
namespace ash {
namespace test {
TestShellContentState::TestShellContentState() {}
TestShellContentState::~TestShellContentState() {}
content::BrowserContext* TestShellContentState::GetActiveBrowserContext() {
active_browser_context_.reset(new content::TestBrowserContext());
return active_browser_context_.get();
}
content::BrowserContext* TestShellContentState::GetBrowserContextByIndex(
UserIndex index) {
return nullptr;
}
content::BrowserContext* TestShellContentState::GetBrowserContextForWindow(
aura::Window* window) {
return nullptr;
}
content::BrowserContext*
TestShellContentState::GetUserPresentingBrowserContextForWindow(
aura::Window* window) {
return nullptr;
}
} // namespace test
} // namespace ash