Index: chrome/service/cloud_print/cloud_print_helpers.cc |
=================================================================== |
--- chrome/service/cloud_print/cloud_print_helpers.cc (revision 68909) |
+++ chrome/service/cloud_print/cloud_print_helpers.cc (working copy) |
@@ -231,3 +231,11 @@ |
std::string(), post_data); |
} |
+bool CloudPrintHelpers::IsDryRunJob(const std::vector<std::string>& tags) { |
+ std::vector<std::string>::const_iterator it; |
+ for (it = tags.begin(); it != tags.end(); ++it) { |
+ if (*it == kTagDryRunFlag) |
+ return true; |
+ } |
+ return false; |
+} |