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

Side by Side Diff: dbus/message.cc

Issue 16123026: Use a direct include of strings headers in crypto/, dbus/, device/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « dbus/dbus_statistics.cc ('k') | dbus/object_proxy.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 "dbus/message.h" 5 #include "dbus/message.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/format_macros.h" 10 #include "base/format_macros.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/string_util.h" 12 #include "base/strings/string_util.h"
13 #include "base/stringprintf.h" 13 #include "base/strings/stringprintf.h"
14 #include "dbus/object_path.h" 14 #include "dbus/object_path.h"
15 15
16 #if defined(USE_SYSTEM_PROTOBUF) 16 #if defined(USE_SYSTEM_PROTOBUF)
17 #include <google/protobuf/message_lite.h> 17 #include <google/protobuf/message_lite.h>
18 #else 18 #else
19 #include "third_party/protobuf/src/google/protobuf/message_lite.h" 19 #include "third_party/protobuf/src/google/protobuf/message_lite.h"
20 #endif 20 #endif
21 21
22 namespace { 22 namespace {
23 23
(...skipping 955 matching lines...) Expand 10 before | Expand all | Expand 10 after
979 const bool success = PopBasic(DBUS_TYPE_UNIX_FD, &fd); 979 const bool success = PopBasic(DBUS_TYPE_UNIX_FD, &fd);
980 if (!success) 980 if (!success)
981 return false; 981 return false;
982 982
983 value->PutValue(fd); 983 value->PutValue(fd);
984 // NB: the caller must check validity before using the value 984 // NB: the caller must check validity before using the value
985 return true; 985 return true;
986 } 986 }
987 987
988 } // namespace dbus 988 } // namespace dbus
OLDNEW
« no previous file with comments | « dbus/dbus_statistics.cc ('k') | dbus/object_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698