Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: content/browser/compositor/image_transport_factory_browsertest.cc

Issue 214823006: Move ContentBrowserTest class to content/public, since it's used by components_browsertests for bro… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: remove other files Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/run_loop.h" 5 #include "base/run_loop.h"
6 #include "cc/output/context_provider.h" 6 #include "cc/output/context_provider.h"
7 #include "content/browser/compositor/image_transport_factory.h" 7 #include "content/browser/compositor/image_transport_factory.h"
8 #include "content/public/browser/gpu_data_manager.h" 8 #include "content/public/browser/gpu_data_manager.h"
9 #include "content/test/content_browser_test.h" 9 #include "content/public/test/content_browser_test.h"
10 #include "gpu/GLES2/gl2extchromium.h" 10 #include "gpu/GLES2/gl2extchromium.h"
11 #include "gpu/command_buffer/client/gles2_interface.h" 11 #include "gpu/command_buffer/client/gles2_interface.h"
12 #include "testing/gmock/include/gmock/gmock.h" 12 #include "testing/gmock/include/gmock/gmock.h"
13 #include "ui/compositor/compositor.h" 13 #include "ui/compositor/compositor.h"
14 14
15 namespace content { 15 namespace content {
16 namespace { 16 namespace {
17 17
18 class ImageTransportFactoryBrowserTest : public ContentBrowserTest {}; 18 class ImageTransportFactoryBrowserTest : public ContentBrowserTest {};
19 19
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 gl->Flush(); 60 gl->Flush();
61 61
62 run_loop.Run(); 62 run_loop.Run();
63 EXPECT_EQ(0u, texture->PrepareTexture()); 63 EXPECT_EQ(0u, texture->PrepareTexture());
64 64
65 factory->RemoveObserver(&observer); 65 factory->RemoveObserver(&observer);
66 } 66 }
67 67
68 } // anonymous namespace 68 } // anonymous namespace
69 } // namespace content 69 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/child_process_security_policy_browsertest.cc ('k') | content/browser/cross_site_transfer_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698