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

Side by Side Diff: ppapi/proxy/serialized_flash_menu.h

Issue 7655002: Convert the pp::proxy namespace to the ppapi::proxy namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 PPAPI_PROXY_SERIALIZED_FLASH_MENU_H_ 5 #ifndef PPAPI_PROXY_SERIALIZED_FLASH_MENU_H_
6 #define PPAPI_PROXY_SERIALIZED_FLASH_MENU_H_ 6 #define PPAPI_PROXY_SERIALIZED_FLASH_MENU_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 13
14 struct PP_Flash_Menu; 14 struct PP_Flash_Menu;
15 15
16 namespace IPC { 16 namespace IPC {
17 class Message; 17 class Message;
18 } 18 }
19 19
20 namespace pp { 20 namespace ppapi {
21 namespace proxy { 21 namespace proxy {
22 22
23 class SerializedFlashMenu { 23 class SerializedFlashMenu {
24 public: 24 public:
25 SerializedFlashMenu(); 25 SerializedFlashMenu();
26 ~SerializedFlashMenu(); 26 ~SerializedFlashMenu();
27 27
28 bool SetPPMenu(const PP_Flash_Menu* menu); 28 bool SetPPMenu(const PP_Flash_Menu* menu);
29 29
30 const PP_Flash_Menu* pp_menu() const { return pp_menu_; } 30 const PP_Flash_Menu* pp_menu() const { return pp_menu_; }
31 31
32 void WriteToMessage(IPC::Message* m) const; 32 void WriteToMessage(IPC::Message* m) const;
33 bool ReadFromMessage(const IPC::Message* m, void** iter); 33 bool ReadFromMessage(const IPC::Message* m, void** iter);
34 34
35 private: 35 private:
36 const PP_Flash_Menu* pp_menu_; 36 const PP_Flash_Menu* pp_menu_;
37 bool own_menu_; 37 bool own_menu_;
38 DISALLOW_COPY_AND_ASSIGN(SerializedFlashMenu); 38 DISALLOW_COPY_AND_ASSIGN(SerializedFlashMenu);
39 }; 39 };
40 40
41 } // namespace proxy 41 } // namespace proxy
42 } // namespace pp 42 } // namespace ppapi
43 43
44 #endif // PPAPI_PROXY_SERIALIZED_FLASH_MENU_H_ 44 #endif // PPAPI_PROXY_SERIALIZED_FLASH_MENU_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698