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

Side by Side Diff: ppapi/shared_impl/dictionary_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/proxy/ppp_messaging_proxy_perftest.cc ('k') | ppapi/shared_impl/ppb_gamepad_shared.h » ('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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/dictionary_var.h" 5 #include "ppapi/shared_impl/dictionary_var.h"
6 6
7 #include "base/memory/ref_counted.h" 7 #include "base/memory/ref_counted.h"
8 #include "base/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "ppapi/shared_impl/array_var.h" 9 #include "ppapi/shared_impl/array_var.h"
10 #include "ppapi/shared_impl/ppapi_globals.h" 10 #include "ppapi/shared_impl/ppapi_globals.h"
11 #include "ppapi/shared_impl/var_tracker.h" 11 #include "ppapi/shared_impl/var_tracker.h"
12 12
13 namespace ppapi { 13 namespace ppapi {
14 14
15 DictionaryVar::DictionaryVar() { 15 DictionaryVar::DictionaryVar() {
16 } 16 }
17 17
18 DictionaryVar::~DictionaryVar() { 18 DictionaryVar::~DictionaryVar() {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 key_value_map_[utf8_key] = value; 102 key_value_map_[utf8_key] = value;
103 return true; 103 return true;
104 } 104 }
105 105
106 void DictionaryVar::DeleteWithStringKey(const std::string& utf8_key) { 106 void DictionaryVar::DeleteWithStringKey(const std::string& utf8_key) {
107 key_value_map_.erase(utf8_key); 107 key_value_map_.erase(utf8_key);
108 } 108 }
109 109
110 } // namespace ppapi 110 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/ppp_messaging_proxy_perftest.cc ('k') | ppapi/shared_impl/ppb_gamepad_shared.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698