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

Side by Side Diff: components/cloud_devices/common/description_items_inl.h

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_CLOUD_DEVICES_COMMON_DESCRIPTION_DESCRIPTION_ITEMS_INL_H_ 5 #ifndef COMPONENTS_CLOUD_DEVICES_COMMON_DESCRIPTION_DESCRIPTION_ITEMS_INL_H_
6 #define COMPONENTS_CLOUD_DEVICES_COMMON_DESCRIPTION_DESCRIPTION_ITEMS_INL_H_ 6 #define COMPONENTS_CLOUD_DEVICES_COMMON_DESCRIPTION_DESCRIPTION_ITEMS_INL_H_
7 7
8 #include <stddef.h>
9
8 #include <vector> 10 #include <vector>
9 11
10 #include "base/numerics/safe_conversions.h" 12 #include "base/numerics/safe_conversions.h"
11 #include "components/cloud_devices/common/description_items.h" 13 #include "components/cloud_devices/common/description_items.h"
12 14
13 // Implementation of templates defined in header file. 15 // Implementation of templates defined in header file.
14 // This file should be included from CC file with implementation of device 16 // This file should be included from CC file with implementation of device
15 // specific capabilities. 17 // specific capabilities.
16 18
17 namespace cloud_devices { 19 namespace cloud_devices {
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 template <class Option, class Traits> 246 template <class Option, class Traits>
245 void TicketItem<Option, Traits>::SaveTo( 247 void TicketItem<Option, Traits>::SaveTo(
246 CloudDeviceDescription* description) const { 248 CloudDeviceDescription* description) const {
247 DCHECK(IsValid()); 249 DCHECK(IsValid());
248 Traits::Save(value(), description->CreateItem(Traits::GetTicketItemPath())); 250 Traits::Save(value(), description->CreateItem(Traits::GetTicketItemPath()));
249 } 251 }
250 252
251 } // namespace cloud_devices 253 } // namespace cloud_devices
252 254
253 #endif // COMPONENTS_CLOUD_DEVICES_COMMON_DESCRIPTION_DESCRIPTION_ITEMS_INL_H_ 255 #endif // COMPONENTS_CLOUD_DEVICES_COMMON_DESCRIPTION_DESCRIPTION_ITEMS_INL_H_
OLDNEW
« no previous file with comments | « components/cloud_devices/common/description_items.h ('k') | components/cloud_devices/common/printer_description.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698