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

Side by Side Diff: chrome/service/cloud_print/job_status_updater.cc

Issue 7259019: Move base/values.h into the base namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 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 #include "chrome/service/cloud_print/job_status_updater.h" 5 #include "chrome/service/cloud_print/job_status_updater.h"
6 6
7 #include "base/json/json_reader.h" 7 #include "base/json/json_reader.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "base/values.h"
10 #include "chrome/common/net/http_return.h" 11 #include "chrome/common/net/http_return.h"
11 #include "chrome/service/cloud_print/cloud_print_consts.h" 12 #include "chrome/service/cloud_print/cloud_print_consts.h"
12 #include "chrome/service/cloud_print/cloud_print_helpers.h" 13 #include "chrome/service/cloud_print/cloud_print_helpers.h"
13 #include "googleurl/src/gurl.h" 14 #include "googleurl/src/gurl.h"
14 15
15 JobStatusUpdater::JobStatusUpdater(const std::string& printer_name, 16 JobStatusUpdater::JobStatusUpdater(const std::string& printer_name,
16 const std::string& job_id, 17 const std::string& job_id,
17 cloud_print::PlatformJobId& local_job_id, 18 cloud_print::PlatformJobId& local_job_id,
18 const GURL& cloud_print_server_url, 19 const GURL& cloud_print_server_url,
19 cloud_print::PrintSystem* print_system, 20 cloud_print::PrintSystem* print_system,
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 MessageLoop::current()->PostTask( 86 MessageLoop::current()->PostTask(
86 FROM_HERE, NewRunnableMethod(this, &JobStatusUpdater::Stop)); 87 FROM_HERE, NewRunnableMethod(this, &JobStatusUpdater::Stop));
87 } 88 }
88 return CloudPrintURLFetcher::STOP_PROCESSING; 89 return CloudPrintURLFetcher::STOP_PROCESSING;
89 } 90 }
90 91
91 void JobStatusUpdater::OnRequestAuthError() { 92 void JobStatusUpdater::OnRequestAuthError() {
92 if (delegate_) 93 if (delegate_)
93 delegate_->OnAuthError(); 94 delegate_->OnAuthError();
94 } 95 }
OLDNEW
« no previous file with comments | « chrome/service/cloud_print/job_status_updater.h ('k') | chrome/service/cloud_print/print_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698