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

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

Issue 10386187: Cleanup: Remove unneeded scoped_ptr.h includes from chrome. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 8 years, 7 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
« no previous file with comments | « chrome/renderer/security_filter_peer.cc ('k') | chrome/test/logging/win/file_logger.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_JOB_STATUS_UPDATER_H_ 5 #ifndef CHROME_SERVICE_CLOUD_PRINT_JOB_STATUS_UPDATER_H_
6 #define CHROME_SERVICE_CLOUD_PRINT_JOB_STATUS_UPDATER_H_ 6 #define CHROME_SERVICE_CLOUD_PRINT_JOB_STATUS_UPDATER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/compiler_specific.h"
11 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h"
13 #include "base/threading/thread.h" 13 #include "base/threading/thread.h"
14 #include "chrome/service/cloud_print/cloud_print_url_fetcher.h" 14 #include "chrome/service/cloud_print/cloud_print_url_fetcher.h"
15 #include "chrome/service/cloud_print/print_system.h" 15 #include "chrome/service/cloud_print/print_system.h"
16 #include "googleurl/src/gurl.h" 16 #include "googleurl/src/gurl.h"
17 #include "net/url_request/url_request_status.h" 17 #include "net/url_request/url_request_status.h"
18 18
19 // Periodically monitors the status of a local print job and updates the 19 // Periodically monitors the status of a local print job and updates the
20 // cloud print server accordingly. When the job has been completed this 20 // cloud print server accordingly. When the job has been completed this
21 // object releases the reference to itself which should cause it to 21 // object releases the reference to itself which should cause it to
22 // self-destruct. 22 // self-destruct.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 DISALLOW_COPY_AND_ASSIGN(JobStatusUpdater); 70 DISALLOW_COPY_AND_ASSIGN(JobStatusUpdater);
71 }; 71 };
72 72
73 // This typedef is to workaround the issue with certain versions of 73 // This typedef is to workaround the issue with certain versions of
74 // Visual Studio where it gets confused between multiple Delegate 74 // Visual Studio where it gets confused between multiple Delegate
75 // classes and gives a C2500 error. (I saw this error on the try bots - 75 // classes and gives a C2500 error. (I saw this error on the try bots -
76 // the workaround was not needed for my machine). 76 // the workaround was not needed for my machine).
77 typedef JobStatusUpdater::Delegate JobStatusUpdaterDelegate; 77 typedef JobStatusUpdater::Delegate JobStatusUpdaterDelegate;
78 78
79 #endif // CHROME_SERVICE_CLOUD_PRINT_JOB_STATUS_UPDATER_H_ 79 #endif // CHROME_SERVICE_CLOUD_PRINT_JOB_STATUS_UPDATER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/security_filter_peer.cc ('k') | chrome/test/logging/win/file_logger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698