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

Side by Side Diff: chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc

Issue 163943005: Remove CloudPrintAccountManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/browser/ui/webui/local_discovery/local_discovery_ui_handler.h" 5 #include "chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/prefs/pref_service.h" 12 #include "base/prefs/pref_service.h"
13 #include "base/strings/stringprintf.h" 13 #include "base/strings/stringprintf.h"
14 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
15 #include "base/values.h" 15 #include "base/values.h"
16 #include "chrome/browser/chrome_notification_types.h" 16 #include "chrome/browser/chrome_notification_types.h"
17 #include "chrome/browser/local_discovery/cloud_print_account_manager.h"
18 #include "chrome/browser/local_discovery/privet_confirm_api_flow.h" 17 #include "chrome/browser/local_discovery/privet_confirm_api_flow.h"
19 #include "chrome/browser/local_discovery/privet_constants.h" 18 #include "chrome/browser/local_discovery/privet_constants.h"
20 #include "chrome/browser/local_discovery/privet_device_lister_impl.h" 19 #include "chrome/browser/local_discovery/privet_device_lister_impl.h"
21 #include "chrome/browser/local_discovery/privet_http_asynchronous_factory.h" 20 #include "chrome/browser/local_discovery/privet_http_asynchronous_factory.h"
22 #include "chrome/browser/local_discovery/privet_http_impl.h" 21 #include "chrome/browser/local_discovery/privet_http_impl.h"
23 #include "chrome/browser/local_discovery/service_discovery_shared_client.h" 22 #include "chrome/browser/local_discovery/service_discovery_shared_client.h"
24 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service.h" 23 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service.h"
25 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory. h" 24 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory. h"
26 #include "chrome/browser/printing/cloud_print/cloud_print_url.h" 25 #include "chrome/browser/printing/cloud_print/cloud_print_url.h"
27 #include "chrome/browser/profiles/profile.h" 26 #include "chrome/browser/profiles/profile.h"
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 } 609 }
611 610
612 void LocalDiscoveryUIHandler::RefreshCloudPrintStatusFromService() { 611 void LocalDiscoveryUIHandler::RefreshCloudPrintStatusFromService() {
613 if (cloud_print_connector_ui_enabled_) 612 if (cloud_print_connector_ui_enabled_)
614 CloudPrintProxyServiceFactory::GetForProfile(Profile::FromWebUI(web_ui()))-> 613 CloudPrintProxyServiceFactory::GetForProfile(Profile::FromWebUI(web_ui()))->
615 RefreshStatusFromService(); 614 RefreshStatusFromService();
616 } 615 }
617 #endif // cloud print connector option stuff 616 #endif // cloud print connector option stuff
618 617
619 } // namespace local_discovery 618 } // namespace local_discovery
OLDNEW
« no previous file with comments | « chrome/browser/local_discovery/cloud_print_account_manager_unittest.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698