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

Side by Side Diff: webkit/fileapi/file_system_callback_dispatcher.cc

Issue 10378057: Broker out PPAPI handle duplication (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
« no previous file with comments | « webkit/fileapi/file_system_callback_dispatcher.h ('k') | no next file » | 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) 2011 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 #include "webkit/fileapi/file_system_callback_dispatcher.h" 5 #include "webkit/fileapi/file_system_callback_dispatcher.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace fileapi { 9 namespace fileapi {
10 10
11 FileSystemCallbackDispatcher::~FileSystemCallbackDispatcher() { 11 FileSystemCallbackDispatcher::~FileSystemCallbackDispatcher() {
12 } 12 }
13 13
14 void FileSystemCallbackDispatcher::DidOpenFile( 14 void FileSystemCallbackDispatcher::DidOpenFile(
15 base::PlatformFile file, 15 base::PlatformFile file) {
16 base::ProcessHandle peer_handle) {
17 NOTREACHED(); 16 NOTREACHED();
18 17
19 if (file != base::kInvalidPlatformFileValue) 18 if (file != base::kInvalidPlatformFileValue)
20 base::ClosePlatformFile(file); 19 base::ClosePlatformFile(file);
21 } 20 }
22 21
23 } // namespace fileapi 22 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/fileapi/file_system_callback_dispatcher.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698