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

Side by Side Diff: content/renderer/render_thread_impl_browsertest.cc

Issue 2551743002: gpu: Move native memory buffer configuration into //gpu (Closed)
Patch Set: . Created 4 years 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
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/test/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "content/renderer/render_thread_impl.h" 5 #include "content/renderer/render_thread_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 23 matching lines...) Expand all
34 #include "content/public/common/service_names.mojom.h" 34 #include "content/public/common/service_names.mojom.h"
35 #include "content/public/renderer/content_renderer_client.h" 35 #include "content/public/renderer/content_renderer_client.h"
36 #include "content/public/test/content_browser_test.h" 36 #include "content/public/test/content_browser_test.h"
37 #include "content/public/test/content_browser_test_utils.h" 37 #include "content/public/test/content_browser_test_utils.h"
38 #include "content/public/test/test_browser_thread_bundle.h" 38 #include "content/public/test/test_browser_thread_bundle.h"
39 #include "content/public/test/test_content_client_initializer.h" 39 #include "content/public/test/test_content_client_initializer.h"
40 #include "content/public/test/test_service_manager_context.h" 40 #include "content/public/test/test_service_manager_context.h"
41 #include "content/renderer/render_process_impl.h" 41 #include "content/renderer/render_process_impl.h"
42 #include "content/test/mock_render_process.h" 42 #include "content/test/mock_render_process.h"
43 #include "gpu/GLES2/gl2extchromium.h" 43 #include "gpu/GLES2/gl2extchromium.h"
44 #include "gpu/ipc/host/gpu_switches.h"
44 #include "ipc/ipc.mojom.h" 45 #include "ipc/ipc.mojom.h"
45 #include "ipc/ipc_channel_mojo.h" 46 #include "ipc/ipc_channel_mojo.h"
46 #include "mojo/edk/embedder/embedder.h" 47 #include "mojo/edk/embedder/embedder.h"
47 #include "mojo/edk/test/scoped_ipc_support.h" 48 #include "mojo/edk/test/scoped_ipc_support.h"
48 #include "testing/gtest/include/gtest/gtest.h" 49 #include "testing/gtest/include/gtest/gtest.h"
49 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul er.h" 50 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul er.h"
50 #include "ui/gfx/buffer_format_util.h" 51 #include "ui/gfx/buffer_format_util.h"
51 52
52 // IPC messages for testing ---------------------------------------------------- 53 // IPC messages for testing ----------------------------------------------------
53 54
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 if (!discardable_memory::DiscardableSharedMemoryManager::GetInstance() 489 if (!discardable_memory::DiscardableSharedMemoryManager::GetInstance()
489 ->GetBytesAllocated()) 490 ->GetBytesAllocated())
490 break; 491 break;
491 } 492 }
492 493
493 EXPECT_LT(base::TimeTicks::Now(), end); 494 EXPECT_LT(base::TimeTicks::Now(), end);
494 } 495 }
495 496
496 } // namespace 497 } // namespace
497 } // namespace content 498 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698