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

Side by Side Diff: chrome/common/cloud_print/test_cloud_print_utils.h

Issue 11038063: Support chrome_to_mobile job receiving Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix format Created 8 years, 1 month 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_COMMON_CLOUD_PRINT_TEST_CLOUD_PRINT_UTILS_H_
6 #define CHROME_COMMON_CLOUD_PRINT_TEST_CLOUD_PRINT_UTILS_H_
7
8 #include <string>
9
10 namespace cloud_print {
11
12 // Return a success fetch response data with jobs with the given job strings.
13 // |job_num| is the number of jobs.
14 std::string GenerateFetchSuccessResponseWithJobStrings(size_t job_num ...);
15
16 // Return a success fetch response data with jobs with the given job ids.
17 // |job_num| is the number of jobs.
18 std::string GenerateFetchSuccessResponseWithJobIds(size_t job_num ...);
19
20 // Returns a registration response with the given |succeed| and |printer_id|.
21 std::string GenerateRegistrationResponse(const bool& succeed,
22 const std::string& printer_id);
23
24 // Return a success fetch response data with jobs with the given printer ids.
25 // |job_num| is the number of printers.
26 std::string GenerateListResponseWithPrinterIds(size_t printer_num ...);
27
28 } // namespace cloud_print
29
30 #endif // CHROME_COMMON_CLOUD_PRINT_TEST_CLOUD_PRINT_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/common/cloud_print/cloud_print_helpers_unittest.cc ('k') | chrome/common/cloud_print/test_cloud_print_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698