cloud_print_proxy_service.cc revision c407dc5cd9bdc5668497f21b26b09d988ab439de
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 3// found in the LICENSE file. 4 5#include "chrome/browser/printing/cloud_print/cloud_print_proxy_service.h" 6 7#include <stack> 8#include <vector> 9 10#include "base/path_service.h" 11#include "base/utf_string_conversions.h" 12#include "chrome/browser/browser_process.h" 13#include "chrome/browser/chrome_thread.h" 14#include "chrome/browser/profile.h" 15#include "chrome/browser/profile_manager.h" 16#include "chrome/common/chrome_paths.h" 17#include "chrome/common/notification_type.h" 18#include "chrome/common/pref_names.h" 19#include "chrome/browser/pref_service.h" 20 21CloudPrintProxyService::CloudPrintProxyService(Profile* profile) { 22} 23 24CloudPrintProxyService::~CloudPrintProxyService() { 25 Shutdown(); 26} 27 28void CloudPrintProxyService::Initialize() { 29} 30 31 32void CloudPrintProxyService::EnableForUser(const std::string& auth_token) { 33 // TODO(sanjeevr): Add code to communicate with the cloud print proxy code 34 // running in the service process here. 35} 36 37void CloudPrintProxyService::DisableForUser() { 38 Shutdown(); 39} 40 41void CloudPrintProxyService::Shutdown() { 42 // TODO(sanjeevr): Add code to communicate with the cloud print proxy code 43 // running in the service process here. 44} 45 46