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

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

Issue 8437002: Move BrowserThread to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A few updates. Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 #include "webkit/blob/blob_url_request_job_factory.h" 64 #include "webkit/blob/blob_url_request_job_factory.h"
65 #include "webkit/database/database_tracker.h" 65 #include "webkit/database/database_tracker.h"
66 #include "webkit/fileapi/file_system_context.h" 66 #include "webkit/fileapi/file_system_context.h"
67 #include "webkit/fileapi/file_system_url_request_job_factory.h" 67 #include "webkit/fileapi/file_system_url_request_job_factory.h"
68 #include "webkit/quota/quota_manager.h" 68 #include "webkit/quota/quota_manager.h"
69 69
70 #if defined(OS_CHROMEOS) 70 #if defined(OS_CHROMEOS)
71 #include "chrome/browser/chromeos/gview_request_interceptor.h" 71 #include "chrome/browser/chromeos/gview_request_interceptor.h"
72 #endif // defined(OS_CHROMEOS) 72 #endif // defined(OS_CHROMEOS)
73 73
74 using content::BrowserThread;
75
74 namespace { 76 namespace {
75 77
76 // ---------------------------------------------------------------------------- 78 // ----------------------------------------------------------------------------
77 // CookieMonster::Delegate implementation 79 // CookieMonster::Delegate implementation
78 // ---------------------------------------------------------------------------- 80 // ----------------------------------------------------------------------------
79 class ChromeCookieMonsterDelegate : public net::CookieMonster::Delegate { 81 class ChromeCookieMonsterDelegate : public net::CookieMonster::Delegate {
80 public: 82 public:
81 explicit ChromeCookieMonsterDelegate( 83 explicit ChromeCookieMonsterDelegate(
82 const base::Callback<Profile*(void)>& profile_getter) 84 const base::Callback<Profile*(void)>& profile_getter)
83 : profile_getter_(profile_getter) { 85 : profile_getter_(profile_getter) {
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 bool posted = BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, 555 bool posted = BrowserThread::PostTask(BrowserThread::IO, FROM_HERE,
554 new DeleteTask<ProfileIOData>(this)); 556 new DeleteTask<ProfileIOData>(this));
555 if (!posted) 557 if (!posted)
556 delete this; 558 delete this;
557 } 559 }
558 560
559 void ProfileIOData::set_origin_bound_cert_service( 561 void ProfileIOData::set_origin_bound_cert_service(
560 net::OriginBoundCertService* origin_bound_cert_service) const { 562 net::OriginBoundCertService* origin_bound_cert_service) const {
561 origin_bound_cert_service_.reset(origin_bound_cert_service); 563 origin_bound_cert_service_.reset(origin_bound_cert_service);
562 } 564 }
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl_io_data.cc ('k') | chrome/browser/profiles/profile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698