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

Side by Side Diff: ppapi/shared_impl/var.cc

Issue 16366009: Use a direct include of strings headers in ppapi/, printing/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: wrap comment Created 7 years, 6 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 | « ppapi/shared_impl/private/net_address_private_impl.cc ('k') | ppapi/tests/test_case.cc » ('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) 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 #include "ppapi/shared_impl/var.h" 5 #include "ppapi/shared_impl/var.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "base/string_util.h" 11 #include "base/strings/string_util.h"
12 #include "ppapi/c/pp_var.h" 12 #include "ppapi/c/pp_var.h"
13 #include "ppapi/shared_impl/ppapi_globals.h" 13 #include "ppapi/shared_impl/ppapi_globals.h"
14 #include "ppapi/shared_impl/var_tracker.h" 14 #include "ppapi/shared_impl/var_tracker.h"
15 15
16 namespace ppapi { 16 namespace ppapi {
17 17
18 // Var ------------------------------------------------------------------------- 18 // Var -------------------------------------------------------------------------
19 19
20 Var::Var() : var_id_(0) { 20 Var::Var() : var_id_(0) {
21 } 21 }
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 return NULL; 202 return NULL;
203 scoped_refptr<Var> var_object( 203 scoped_refptr<Var> var_object(
204 PpapiGlobals::Get()->GetVarTracker()->GetVar(var)); 204 PpapiGlobals::Get()->GetVarTracker()->GetVar(var));
205 if (!var_object.get()) 205 if (!var_object.get())
206 return NULL; 206 return NULL;
207 return var_object->AsArrayBufferVar(); 207 return var_object->AsArrayBufferVar();
208 } 208 }
209 209
210 } // namespace ppapi 210 } // namespace ppapi
211 211
OLDNEW
« no previous file with comments | « ppapi/shared_impl/private/net_address_private_impl.cc ('k') | ppapi/tests/test_case.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698