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

Side by Side Diff: chrome/service/cloud_print/cloud_print_helpers.h

Issue 8491036: Cleanup: Remove unneeded forward declarations from various chrome subdirectories. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_ 5 #ifndef CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_
6 #define CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_ 6 #define CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 #include <vector>
11 12
12 #include "chrome/service/cloud_print/print_system.h" 13 #include "chrome/service/cloud_print/print_system.h"
13 #include "googleurl/src/gurl.h" 14 #include "googleurl/src/gurl.h"
14 15
15 class Task;
16 class URLFetcher;
17
18 namespace base { 16 namespace base {
19 class DictionaryValue; 17 class DictionaryValue;
20 } 18 }
21 19
22 // Helper methods for the cloud print proxy code. 20 // Helper methods for the cloud print proxy code.
23 class CloudPrintHelpers { 21 class CloudPrintHelpers {
24 public: 22 public:
25 static GURL GetUrlForPrinterRegistration(const GURL& cloud_print_server_url); 23 static GURL GetUrlForPrinterRegistration(const GURL& cloud_print_server_url);
26 static GURL GetUrlForPrinterUpdate(const GURL& cloud_print_server_url, 24 static GURL GetUrlForPrinterUpdate(const GURL& cloud_print_server_url,
27 const std::string& printer_id); 25 const std::string& printer_id);
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 const std::map<std::string, std::string>& string_map); 63 const std::map<std::string, std::string>& string_map);
66 static void GenerateMultipartPostDataForPrinterTags( 64 static void GenerateMultipartPostDataForPrinterTags(
67 const std::map<std::string, std::string>& printer_tags, 65 const std::map<std::string, std::string>& printer_tags,
68 const std::string& mime_boundary, 66 const std::string& mime_boundary,
69 std::string* post_data); 67 std::string* post_data);
70 68
71 // Returns true is tags indicate a dry run (test) job. 69 // Returns true is tags indicate a dry run (test) job.
72 static bool IsDryRunJob(const std::vector<std::string>& tags); 70 static bool IsDryRunJob(const std::vector<std::string>& tags);
73 71
74 static std::string GetCloudPrintAuthHeader(); 72 static std::string GetCloudPrintAuthHeader();
73
75 private: 74 private:
76 CloudPrintHelpers() { 75 CloudPrintHelpers() {}
77 }
78 }; 76 };
79 77
80 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_ 78 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_
OLDNEW
« no previous file with comments | « chrome/default_plugin/plugin_impl_mac.h ('k') | chrome/service/cloud_print/cloud_print_proxy_backend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698