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

Side by Side Diff: content/browser/android/browser_surface_texture_manager.h

Issue 1308823002: Move Singleton and related structs to namespace base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ToT Created 5 years, 3 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
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 #ifndef CONTENT_BROWSER_ANDROID_BROWSER_SURFACE_TEXTURE_MANAGER_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_BROWSER_SURFACE_TEXTURE_MANAGER_H_
6 #define CONTENT_BROWSER_ANDROID_BROWSER_SURFACE_TEXTURE_MANAGER_H_ 6 #define CONTENT_BROWSER_ANDROID_BROWSER_SURFACE_TEXTURE_MANAGER_H_
7 7
8 #include "content/common/android/surface_texture_manager.h" 8 #include "content/common/android/surface_texture_manager.h"
9 9
10 #include "base/memory/singleton.h" 10 #include "base/memory/singleton.h"
(...skipping 17 matching lines...) Expand all
28 int surface_texture_id) override; 28 int surface_texture_id) override;
29 29
30 // Overridden from SurfaceTexturePeer: 30 // Overridden from SurfaceTexturePeer:
31 void EstablishSurfaceTexturePeer( 31 void EstablishSurfaceTexturePeer(
32 base::ProcessHandle render_process_handle, 32 base::ProcessHandle render_process_handle,
33 scoped_refptr<gfx::SurfaceTexture> surface_texture, 33 scoped_refptr<gfx::SurfaceTexture> surface_texture,
34 int render_frame_id, 34 int render_frame_id,
35 int player_id) override; 35 int player_id) override;
36 36
37 private: 37 private:
38 friend struct DefaultSingletonTraits<BrowserSurfaceTextureManager>; 38 friend struct base::DefaultSingletonTraits<BrowserSurfaceTextureManager>;
39 39
40 BrowserSurfaceTextureManager(); 40 BrowserSurfaceTextureManager();
41 ~BrowserSurfaceTextureManager() override; 41 ~BrowserSurfaceTextureManager() override;
42 42
43 DISALLOW_COPY_AND_ASSIGN(BrowserSurfaceTextureManager); 43 DISALLOW_COPY_AND_ASSIGN(BrowserSurfaceTextureManager);
44 }; 44 };
45 45
46 } // namespace content 46 } // namespace content
47 47
48 #endif // CONTENT_BROWSER_ANDROID_BROWSER_SURFACE_TEXTURE_MANAGER_H_ 48 #endif // CONTENT_BROWSER_ANDROID_BROWSER_SURFACE_TEXTURE_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698