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

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

Issue 294923005: Add media size capability to PDF printer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add a comment to the new query stopping code. 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.h
diff --git a/components/cloud_devices/common/cloud_device_description.h b/components/cloud_devices/common/cloud_device_description.h
index 8a0021025b70b4c474b748e481c91f822ab7e8eb..146c68277c30cc3c7c4856f82ddacdbd65d69e0e 100644
--- a/components/cloud_devices/common/cloud_device_description.h
+++ b/components/cloud_devices/common/cloud_device_description.h
@@ -31,6 +31,8 @@ class CloudDeviceDescription {
std::string ToString() const;
+ const base::DictionaryValue& root() const { return *root_; }
+
// Returns dictionary with capability/option.
// Returns NULL if missing.
const base::DictionaryValue* GetItem(const std::string& path) const;

Powered by Google App Engine
This is Rietveld 408576698