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

Side by Side Diff: webkit/plugins/npapi/plugin_instance.h

Issue 12286020: Replace FilePath with base::FilePath. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // TODO: Need to deal with NPAPI's NPSavedData. 5 // TODO: Need to deal with NPAPI's NPSavedData.
6 // I haven't seen plugins use it yet. 6 // I haven't seen plugins use it yet.
7 7
8 #ifndef WEBKIT_PLUGINS_NPAPI_PLUGIN_INSTANCE_H_ 8 #ifndef WEBKIT_PLUGINS_NPAPI_PLUGIN_INSTANCE_H_
9 #define WEBKIT_PLUGINS_NPAPI_PLUGIN_INSTANCE_H_ 9 #define WEBKIT_PLUGINS_NPAPI_PLUGIN_INSTANCE_H_
10 10
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 312
313 // Stack indicating if popups are to be enabled for the outgoing 313 // Stack indicating if popups are to be enabled for the outgoing
314 // NPN_GetURL/NPN_GetURLNotify calls. 314 // NPN_GetURL/NPN_GetURLNotify calls.
315 std::stack<bool> popups_enabled_stack_; 315 std::stack<bool> popups_enabled_stack_;
316 316
317 // True if in CloseStreams(). 317 // True if in CloseStreams().
318 bool in_close_streams_; 318 bool in_close_streams_;
319 319
320 // List of files created for the current plugin instance. File names are 320 // List of files created for the current plugin instance. File names are
321 // added to the list every time the NPP_StreamAsFile function is called. 321 // added to the list every time the NPP_StreamAsFile function is called.
322 std::vector<FilePath> files_created_; 322 std::vector<base::FilePath> files_created_;
323 323
324 // Next unusued timer id. 324 // Next unusued timer id.
325 uint32 next_timer_id_; 325 uint32 next_timer_id_;
326 326
327 // Map of timer id to settings for timer. 327 // Map of timer id to settings for timer.
328 struct TimerInfo { 328 struct TimerInfo {
329 uint32 interval; 329 uint32 interval;
330 bool repeat; 330 bool repeat;
331 }; 331 };
332 typedef std::map<uint32, TimerInfo> TimerMap; 332 typedef std::map<uint32, TimerInfo> TimerMap;
(...skipping 29 matching lines...) Expand all
362 private: 362 private:
363 scoped_refptr<PluginInstance> instance_; 363 scoped_refptr<PluginInstance> instance_;
364 DISALLOW_COPY_AND_ASSIGN(ScopedCurrentPluginEvent); 364 DISALLOW_COPY_AND_ASSIGN(ScopedCurrentPluginEvent);
365 }; 365 };
366 #endif 366 #endif
367 367
368 } // namespace npapi 368 } // namespace npapi
369 } // namespace webkit 369 } // namespace webkit
370 370
371 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_INSTANCE_H_ 371 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_INSTANCE_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/obfuscated_file_util_unittest.cc ('k') | webkit/plugins/npapi/plugin_lib_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698