summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/async_pixel_transfer_manager_test.cc
blob: d07b01fc5c4028ba306bf567bb09c42b5141b352 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2013 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 "gpu/command_buffer/service/async_pixel_transfer_manager_test.h"

#include "gpu/command_buffer/service/async_pixel_transfer_delegate_mock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace gpu {

AsyncPixelTransferManagerTest::AsyncPixelTransferManagerTest()
    : delegate_(
          new ::testing::StrictMock<gpu::MockAsyncPixelTransferDelegate>) {}

AsyncPixelTransferManagerTest::~AsyncPixelTransferManagerTest() {}

AsyncPixelTransferDelegate*
AsyncPixelTransferManagerTest::GetAsyncPixelTransferDelegate() {
  return delegate_.get();
}

}  // namespace gpu