Index: trunk/src/chrome/browser/ui/webui/print_preview/print_preview_handler.h |
=================================================================== |
--- trunk/src/chrome/browser/ui/webui/print_preview/print_preview_handler.h (revision 194799) |
+++ trunk/src/chrome/browser/ui/webui/print_preview/print_preview_handler.h (working copy) |
@@ -115,9 +115,6 @@ |
// |args| is unused. |
void HandleSignin(const base::ListValue* args); |
- // Generates new token and sends back to UI. |
- void HandleGetAccessToken(const base::ListValue* args); |
- |
// Brings up a web page to allow the user to configure cloud print. |
// |args| is unused. |
void HandleManageCloudPrint(const base::ListValue* args); |
@@ -154,10 +151,6 @@ |
const std::string& default_printer, |
const std::string& cloud_print_data); |
- // Send OAuth2 access token. |
- void SendAccessToken(const std::string& type, |
- const std::string& access_token); |
- |
// Sends the printer capabilities to the Web UI. |settings_info| contains |
// printer capabilities information. |
void SendPrinterCapabilities(const base::DictionaryValue& settings_info); |
@@ -205,8 +198,6 @@ |
bool GetPreviewDataAndTitle(scoped_refptr<base::RefCountedBytes>* data, |
string16* title) const; |
- void InitTokenService(); |
- |
// Pointer to current print system. |
scoped_refptr<printing::PrintBackend> print_backend_; |
@@ -231,10 +222,6 @@ |
// exists. |
scoped_ptr<base::FilePath> print_to_pdf_path_; |
- // Holds token service to get OAuth2 access tokens. |
- class AccessTokenService; |
- scoped_ptr<AccessTokenService> token_service_; |
- |
DISALLOW_COPY_AND_ASSIGN(PrintPreviewHandler); |
}; |