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

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

Issue 2885005: Move chrome/common/net/notifier to jingle/notifier so that it can be used by remoting/remoting.gyp. (Closed) Base URL: git://codf21.jail.google.com/chromium.git
Patch Set: rebased Created 10 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
« no previous file with comments | « chrome/service/cloud_print/DEPS ('k') | jingle/DEPS » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/cloud_print_proxy_backend.h" 5 #include "chrome/service/cloud_print/cloud_print_proxy_backend.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/md5.h" 8 #include "base/md5.h"
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "chrome/service/cloud_print/cloud_print_consts.h" 12 #include "chrome/service/cloud_print/cloud_print_consts.h"
13 #include "chrome/service/cloud_print/cloud_print_helpers.h" 13 #include "chrome/service/cloud_print/cloud_print_helpers.h"
14 #include "chrome/service/cloud_print/printer_job_handler.h" 14 #include "chrome/service/cloud_print/printer_job_handler.h"
15 #include "chrome/common/net/notifier/listener/mediator_thread_impl.h"
16 #include "chrome/common/net/notifier/listener/talk_mediator_impl.h"
17 #include "chrome/service/gaia/service_gaia_authenticator.h" 15 #include "chrome/service/gaia/service_gaia_authenticator.h"
18 #include "chrome/service/service_process.h" 16 #include "chrome/service/service_process.h"
17 #include "jingle/notifier/listener/mediator_thread_impl.h"
18 #include "jingle/notifier/listener/talk_mediator_impl.h"
19 19
20 #include "googleurl/src/gurl.h" 20 #include "googleurl/src/gurl.h"
21 #include "net/url_request/url_request_status.h" 21 #include "net/url_request/url_request_status.h"
22 22
23 // The real guts of SyncBackendHost, to keep the public client API clean. 23 // The real guts of SyncBackendHost, to keep the public client API clean.
24 class CloudPrintProxyBackend::Core 24 class CloudPrintProxyBackend::Core
25 : public base::RefCountedThreadSafe<CloudPrintProxyBackend::Core>, 25 : public base::RefCountedThreadSafe<CloudPrintProxyBackend::Core>,
26 public URLFetcherDelegate, 26 public URLFetcherDelegate,
27 public cloud_print::PrintServerWatcherDelegate, 27 public cloud_print::PrintServerWatcherDelegate,
28 public PrinterJobHandlerDelegate, 28 public PrinterJobHandlerDelegate,
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 StartRegistration(); 652 StartRegistration();
653 } 653 }
654 } 654 }
655 655
656 // PrinterJobHandler::Delegate implementation 656 // PrinterJobHandler::Delegate implementation
657 void CloudPrintProxyBackend::Core::OnPrinterJobHandlerShutdown( 657 void CloudPrintProxyBackend::Core::OnPrinterJobHandlerShutdown(
658 PrinterJobHandler* job_handler, const std::string& printer_id) { 658 PrinterJobHandler* job_handler, const std::string& printer_id) {
659 LOG(INFO) << "CP_PROXY: Printer job handle shutdown, id " << printer_id; 659 LOG(INFO) << "CP_PROXY: Printer job handle shutdown, id " << printer_id;
660 job_handler_map_.erase(printer_id); 660 job_handler_map_.erase(printer_id);
661 } 661 }
662
OLDNEW
« no previous file with comments | « chrome/service/cloud_print/DEPS ('k') | jingle/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698