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

Side by Side Diff: ppapi/cpp/file_io.cc

Issue 8764004: Add DEPS include rules so we don't accidentally use base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove rules to include self where possible Created 9 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/cpp/DEPS ('k') | ppapi/cpp/private/DEPS » ('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) 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/cpp/file_io.h" 5 #include "ppapi/cpp/file_io.h"
6 6
7 #include "ppapi/c/ppb_file_io.h" 7 #include "ppapi/c/ppb_file_io.h"
8 #include "ppapi/c/pp_errors.h" 8 #include "ppapi/c/pp_errors.h"
9 #include "ppapi/c/trusted/ppb_file_io_trusted.h"
10 #include "ppapi/cpp/completion_callback.h" 9 #include "ppapi/cpp/completion_callback.h"
11 #include "ppapi/cpp/file_ref.h" 10 #include "ppapi/cpp/file_ref.h"
12 #include "ppapi/cpp/instance.h" 11 #include "ppapi/cpp/instance.h"
13 #include "ppapi/cpp/module.h" 12 #include "ppapi/cpp/module.h"
14 #include "ppapi/cpp/module_impl.h" 13 #include "ppapi/cpp/module_impl.h"
15 14
16 namespace pp { 15 namespace pp {
17 16
18 namespace { 17 namespace {
19 18
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 pp_resource(), cc.pp_completion_callback()); 100 pp_resource(), cc.pp_completion_callback());
102 } 101 }
103 102
104 void FileIO::Close() { 103 void FileIO::Close() {
105 if (!has_interface<PPB_FileIO>()) 104 if (!has_interface<PPB_FileIO>())
106 return; 105 return;
107 get_interface<PPB_FileIO>()->Close(pp_resource()); 106 get_interface<PPB_FileIO>()->Close(pp_resource());
108 } 107 }
109 108
110 } // namespace pp 109 } // namespace pp
OLDNEW
« no previous file with comments | « ppapi/cpp/DEPS ('k') | ppapi/cpp/private/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698