Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / content / test / test_content_browser_client.cc
blobc917f25b11f9eb89391fd5cb9e2b54f1d092d547
1 // Copyright (c) 2012 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 "content/test/test_content_browser_client.h"
7 #include "base/files/file_path.h"
8 #include "base/logging.h"
10 namespace content {
12 TestContentBrowserClient::TestContentBrowserClient() {
15 TestContentBrowserClient::~TestContentBrowserClient() {
18 base::FilePath TestContentBrowserClient::GetDefaultDownloadDirectory() {
19 if (!download_dir_.IsValid()) {
20 bool result = download_dir_.CreateUniqueTempDir();
21 CHECK(result);
23 return download_dir_.path();
26 } // namespace content