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

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

Issue 5574006: Start deinlining non-empty virtual methods. (This will be automatically checked (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove virtual from VideoFrame::type() Created 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/host_dispatcher.h ('k') | ppapi/proxy/plugin_dispatcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/host_dispatcher.h" 5 #include "ppapi/proxy/host_dispatcher.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "ppapi/c/dev/ppb_var_deprecated.h" 10 #include "ppapi/c/dev/ppb_var_deprecated.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // static 65 // static
66 void HostDispatcher::RemoveForInstance(PP_Instance instance) { 66 void HostDispatcher::RemoveForInstance(PP_Instance instance) {
67 if (!g_instance_to_dispatcher) 67 if (!g_instance_to_dispatcher)
68 return; 68 return;
69 InstanceToDispatcherMap::iterator found = g_instance_to_dispatcher->find( 69 InstanceToDispatcherMap::iterator found = g_instance_to_dispatcher->find(
70 instance); 70 instance);
71 if (found != g_instance_to_dispatcher->end()) 71 if (found != g_instance_to_dispatcher->end())
72 g_instance_to_dispatcher->erase(found); 72 g_instance_to_dispatcher->erase(found);
73 } 73 }
74 74
75 bool HostDispatcher::IsPlugin() const {
76 return false;
77 }
78
75 } // namespace proxy 79 } // namespace proxy
76 } // namespace pp 80 } // namespace pp
77 81
OLDNEW
« no previous file with comments | « ppapi/proxy/host_dispatcher.h ('k') | ppapi/proxy/plugin_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698