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

Side by Side Diff: chrome/browser/profiles/profile_io_data.cc

Issue 10693022: Add support for loading user cloud policy on desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed redundant #ifdef OS_CHROMEOS guard Created 8 years, 4 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) 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 #include "chrome/browser/profiles/profile_io_data.h" 5 #include "chrome/browser/profiles/profile_io_data.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 context = app_request_context_map_[app_id]; 347 context = app_request_context_map_[app_id];
348 } else { 348 } else {
349 context = AcquireIsolatedAppRequestContext(main_context, app_id); 349 context = AcquireIsolatedAppRequestContext(main_context, app_id);
350 app_request_context_map_[app_id] = context; 350 app_request_context_map_[app_id] = context;
351 } 351 }
352 DCHECK(context); 352 DCHECK(context);
353 return context; 353 return context;
354 } 354 }
355 355
356 ExtensionInfoMap* ProfileIOData::GetExtensionInfoMap() const { 356 ExtensionInfoMap* ProfileIOData::GetExtensionInfoMap() const {
357 DCHECK(extension_info_map_) << "ExtensionSystem not initialized";
357 return extension_info_map_; 358 return extension_info_map_;
358 } 359 }
359 360
360 CookieSettings* ProfileIOData::GetCookieSettings() const { 361 CookieSettings* ProfileIOData::GetCookieSettings() const {
361 return cookie_settings_; 362 return cookie_settings_;
362 } 363 }
363 364
364 #if defined(ENABLE_NOTIFICATIONS) 365 #if defined(ENABLE_NOTIFICATIONS)
365 DesktopNotificationService* ProfileIOData::GetNotificationService() const { 366 DesktopNotificationService* ProfileIOData::GetNotificationService() const {
366 return notification_service_; 367 return notification_service_;
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 } 584 }
584 585
585 void ProfileIOData::set_server_bound_cert_service( 586 void ProfileIOData::set_server_bound_cert_service(
586 net::ServerBoundCertService* server_bound_cert_service) const { 587 net::ServerBoundCertService* server_bound_cert_service) const {
587 server_bound_cert_service_.reset(server_bound_cert_service); 588 server_bound_cert_service_.reset(server_bound_cert_service);
588 } 589 }
589 590
590 void ProfileIOData::DestroyResourceContext() { 591 void ProfileIOData::DestroyResourceContext() {
591 resource_context_.reset(); 592 resource_context_.reset();
592 } 593 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698