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

Side by Side Diff: ppapi/proxy/plugin_message_filter.cc

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 #include "ppapi/proxy/plugin_message_filter.h" 5 #include "ppapi/proxy/plugin_message_filter.h"
6 6
7 #include "ppapi/proxy/ppapi_messages.h" 7 #include "ppapi/proxy/ppapi_messages.h"
8 8
9 namespace pp { 9 namespace ppapi {
10 namespace proxy { 10 namespace proxy {
11 11
12 PluginMessageFilter::PluginMessageFilter( 12 PluginMessageFilter::PluginMessageFilter(
13 std::set<PP_Instance>* seen_instance_ids) 13 std::set<PP_Instance>* seen_instance_ids)
14 : seen_instance_ids_(seen_instance_ids), 14 : seen_instance_ids_(seen_instance_ids),
15 channel_(NULL) { 15 channel_(NULL) {
16 } 16 }
17 17
18 PluginMessageFilter::~PluginMessageFilter() { 18 PluginMessageFilter::~PluginMessageFilter() {
19 } 19 }
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 return; 51 return;
52 } 52 }
53 53
54 // This instance ID is new so we can return that it's usable and mark it as 54 // This instance ID is new so we can return that it's usable and mark it as
55 // used for future reference. 55 // used for future reference.
56 seen_instance_ids_->insert(instance); 56 seen_instance_ids_->insert(instance);
57 *usable = true; 57 *usable = true;
58 } 58 }
59 59
60 } // namespace proxy 60 } // namespace proxy
61 } // namespace pp 61 } // namespace ppapi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698