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

Unified Diff: components/cloud_devices/common/cloud_device_description.cc

Issue 294923005: Add media size capability to PDF printer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Retrieve PDF printer capabilites via the same API as for any other local printer. Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: components/cloud_devices/common/cloud_device_description.cc
diff --git a/components/cloud_devices/common/cloud_device_description.cc b/components/cloud_devices/common/cloud_device_description.cc
index d1cb5041c8db4b38ca2dd69da0ec37c2052bebcb..81f97ca8c3ee786fc2a776c791611e638da10466 100644
--- a/components/cloud_devices/common/cloud_device_description.cc
+++ b/components/cloud_devices/common/cloud_device_description.cc
@@ -51,6 +51,10 @@ std::string CloudDeviceDescription::ToString() const {
return json;
}
+scoped_ptr<base::DictionaryValue> CloudDeviceDescription::release() {
Vitaly Buka (NO REVIEWS) 2014/05/22 01:11:21 This object is invalid after this. You can just re
Aleksey Shlyapnikov 2014/05/22 03:51:18 Done.
+ return root_.Pass();
+}
+
const base::DictionaryValue* CloudDeviceDescription::GetItem(
const std::string& path) const {
const base::DictionaryValue* value = NULL;

Powered by Google App Engine
This is Rietveld 408576698