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

Unified Diff: remoting/base/shared_buffer_factory.h

Issue 11470028: Move screen capturers to remoting/capturer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
Index: remoting/base/shared_buffer_factory.h
diff --git a/remoting/base/shared_buffer_factory.h b/remoting/base/shared_buffer_factory.h
deleted file mode 100644
index bd10a4be457455a15a83be56f6903baab3712fab..0000000000000000000000000000000000000000
--- a/remoting/base/shared_buffer_factory.h
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright (c) 2012 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 REMOTING_BASE_SHARED_BUFFER_FACTORY_H_
-#define REMOTING_BASE_SHARED_BUFFER_FACTORY_H_
-
-namespace remoting {
-
-class SharedBuffer;
-
-// Provides a way to create shared buffers accessible by two or more processes.
-class SharedBufferFactory {
- public:
- virtual ~SharedBufferFactory() {}
-
- // Creates a shared memory buffer of the given size.
- virtual scoped_refptr<SharedBuffer> CreateSharedBuffer(uint32 size) = 0;
-
- // Notifies the factory that the buffer is no longer used by the caller and
- // can be released. The caller still has to drop all references to free
- // the memory.
- virtual void ReleaseSharedBuffer(scoped_refptr<SharedBuffer> buffer) = 0;
-};
-
-} // namespace remoting
-
-#endif // REMOTING_BASE_SHARED_BUFFER_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698