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

Side by Side Diff: chromeos/dbus/nfc_record_client.h

Issue 1540803002: Switch to standard integer types in chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 5 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
« no previous file with comments | « chromeos/dbus/nfc_property_set.h ('k') | chromeos/dbus/nfc_record_client.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef CHROMEOS_DBUS_NFC_RECORD_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_NFC_RECORD_CLIENT_H_
6 #define CHROMEOS_DBUS_NFC_RECORD_CLIENT_H_ 6 #define CHROMEOS_DBUS_NFC_RECORD_CLIENT_H_
7 7
8 #include <stdint.h>
9
8 #include <string> 10 #include <string>
9 11
12 #include "base/macros.h"
10 #include "chromeos/chromeos_export.h" 13 #include "chromeos/chromeos_export.h"
11 #include "chromeos/dbus/dbus_client.h" 14 #include "chromeos/dbus/dbus_client.h"
12 #include "chromeos/dbus/nfc_property_set.h" 15 #include "chromeos/dbus/nfc_property_set.h"
13 #include "dbus/object_path.h" 16 #include "dbus/object_path.h"
14 #include "dbus/object_proxy.h" 17 #include "dbus/object_proxy.h"
15 #include "dbus/property.h" 18 #include "dbus/property.h"
16 19
17 namespace chromeos { 20 namespace chromeos {
18 21
19 class NfcDeviceClient; 22 class NfcDeviceClient;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 // object the URI points at. This is not a mandatory field and is only 56 // object the URI points at. This is not a mandatory field and is only
54 // valid for SmartPosters carrying a URI record. 57 // valid for SmartPosters carrying a URI record.
55 // Read-only. 58 // Read-only.
56 dbus::Property<std::string> mime_type; 59 dbus::Property<std::string> mime_type;
57 60
58 // The URI object size. This is the size of the object the URI points at. 61 // The URI object size. This is the size of the object the URI points at.
59 // It should be used by applications to decide if they can afford to fetch 62 // It should be used by applications to decide if they can afford to fetch
60 // the object or not. This is not a mandatory field and is only valid for 63 // the object or not. This is not a mandatory field and is only valid for
61 // Smart Posters carrying a URI record. 64 // Smart Posters carrying a URI record.
62 // Read-only. 65 // Read-only.
63 dbus::Property<uint32> size; 66 dbus::Property<uint32_t> size;
64 67
65 // The suggested course of action. This one is only valid for Smart Posters 68 // The suggested course of action. This one is only valid for Smart Posters
66 // and is a suggestion only. It can be ignored, and the possible values are 69 // and is a suggestion only. It can be ignored, and the possible values are
67 // "Do" (for example launch the browser), "Save" (for example save the URI 70 // "Do" (for example launch the browser), "Save" (for example save the URI
68 // in the bookmarks folder), or "Edit" (for example open the URI in an URI 71 // in the bookmarks folder), or "Edit" (for example open the URI in an URI
69 // editor for the user to modify it). 72 // editor for the user to modify it).
70 dbus::Property<std::string> action; 73 dbus::Property<std::string> action;
71 74
72 Properties(dbus::ObjectProxy* object_proxy, 75 Properties(dbus::ObjectProxy* object_proxy,
73 const PropertyChangedCallback& callback); 76 const PropertyChangedCallback& callback);
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 137
135 NfcRecordClient(); 138 NfcRecordClient();
136 139
137 private: 140 private:
138 DISALLOW_COPY_AND_ASSIGN(NfcRecordClient); 141 DISALLOW_COPY_AND_ASSIGN(NfcRecordClient);
139 }; 142 };
140 143
141 } // namespace chromeos 144 } // namespace chromeos
142 145
143 #endif // CHROMEOS_DBUS_NFC_RECORD_CLIENT_H_ 146 #endif // CHROMEOS_DBUS_NFC_RECORD_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/nfc_property_set.h ('k') | chromeos/dbus/nfc_record_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698