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

Side by Side Diff: gpu/np_utils/np_plugin_object_factory.cc

Issue 481007: Deleted np_utils library. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 | « gpu/np_utils/np_plugin_object_factory.h ('k') | gpu/np_utils/np_plugin_object_factory_mock.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "gpu/gpu_plugin/gpu_plugin_object_factory.h"
6 #include "base/logging.h"
7
8 namespace np_utils {
9
10 NPPluginObjectFactory* NPPluginObjectFactory::factory_;
11
12 PluginObject* NPPluginObjectFactory::CreatePluginObject(
13 NPP npp,
14 NPMIMEType plugin_type) {
15 return NULL;
16 }
17
18 NPPluginObjectFactory::NPPluginObjectFactory() {
19 // Make this the first factory in the linked list.
20 previous_factory_ = factory_;
21 factory_ = this;
22 }
23
24 NPPluginObjectFactory::~NPPluginObjectFactory() {
25 // Remove this factory from the linked list.
26 DCHECK(factory_ == this);
27 factory_ = previous_factory_;
28 }
29
30 } // namespace np_utils
OLDNEW
« no previous file with comments | « gpu/np_utils/np_plugin_object_factory.h ('k') | gpu/np_utils/np_plugin_object_factory_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698