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

Unified Diff: components/mus/common/generic_shared_memory_id_generator.cc

Issue 2049083002: Implement MusGpuMemoryBufferManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update the mojom document Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/mus/common/generic_shared_memory_id_generator.h ('k') | components/mus/common/gpu_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/common/generic_shared_memory_id_generator.cc
diff --git a/content/common/generic_shared_memory_id_generator.cc b/components/mus/common/generic_shared_memory_id_generator.cc
similarity index 72%
copy from content/common/generic_shared_memory_id_generator.cc
copy to components/mus/common/generic_shared_memory_id_generator.cc
index c912bc26eb9e2529c245dfb6978080aff29d903e..622a53940b26f3b6ab18271ae8d1d052418dc68b 100644
--- a/content/common/generic_shared_memory_id_generator.cc
+++ b/components/mus/common/generic_shared_memory_id_generator.cc
@@ -1,12 +1,12 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
+// Copyright 2016 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 "content/common/generic_shared_memory_id_generator.h"
+#include "components/mus/common/generic_shared_memory_id_generator.h"
#include "base/atomic_sequence_num.h"
-namespace content {
+namespace mus {
namespace {
// Global atomic to generate gpu memory buffer unique IDs.
@@ -18,4 +18,4 @@ gfx::GenericSharedMemoryId GetNextGenericSharedMemoryId() {
return gfx::GenericSharedMemoryId(g_next_generic_shared_memory_id.GetNext());
}
-} // namespace content
+} // namespace mus
« no previous file with comments | « components/mus/common/generic_shared_memory_id_generator.h ('k') | components/mus/common/gpu_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698