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

Unified Diff: components/mus/gles2/command_buffer_driver_manager.h

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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
Index: components/mus/gles2/command_buffer_driver_manager.h
diff --git a/components/mus/gles2/command_buffer_driver_manager.h b/components/mus/gles2/command_buffer_driver_manager.h
deleted file mode 100644
index b2f8e7c0900f68d0d9d095a4a4b220c358beeaf9..0000000000000000000000000000000000000000
--- a/components/mus/gles2/command_buffer_driver_manager.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// 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.
-
-#ifndef COMPONENTS_MUS_GLES2_COMMAND_BUFFER_DRIVER_MANAGER_H_
-#define COMPONENTS_MUS_GLES2_COMMAND_BUFFER_DRIVER_MANAGER_H_
-
-#include <stdint.h>
-#include <vector>
-
-#include "base/macros.h"
-#include "base/threading/non_thread_safe.h"
-
-namespace mus {
-
-class CommandBufferDriver;
-
-// This class manages all initialized |CommandBufferDriver|s.
-class CommandBufferDriverManager : base::NonThreadSafe {
- public:
- CommandBufferDriverManager();
- ~CommandBufferDriverManager();
-
- // Add a new initialized driver to the manager.
- void AddDriver(CommandBufferDriver* driver);
-
- // Remove a driver from the manager.
- void RemoveDriver(CommandBufferDriver* driver);
-
- // Return the global order number for the last unprocessed flush
- // (|CommandBufferDriver::Flush|).
- uint32_t GetUnprocessedOrderNum() const;
-
- // Return the global order number for the last processed flush
- // (|CommandBufferDriver::Flush|).
- uint32_t GetProcessedOrderNum() const;
-
- private:
- std::vector<CommandBufferDriver*> drivers_;
-
- DISALLOW_COPY_AND_ASSIGN(CommandBufferDriverManager);
-};
-
-} // namespace mus
-
-#endif // COMPONENTS_GLES2_COMMAND_BUFFER_DRIVER_MANAGER_H_
« no previous file with comments | « components/mus/gles2/command_buffer_driver.cc ('k') | components/mus/gles2/command_buffer_driver_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698