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

Side by Side Diff: chrome/browser/content_settings/tab_specific_content_settings.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/content_settings/tab_specific_content_settings.h" 5 #include "chrome/browser/content_settings/tab_specific_content_settings.h"
6 6
7 #include <list> 7 #include <list>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
(...skipping 13 matching lines...) Expand all
24 #include "chrome/common/render_messages.h" 24 #include "chrome/common/render_messages.h"
25 #include "content/browser/renderer_host/render_process_host.h" 25 #include "content/browser/renderer_host/render_process_host.h"
26 #include "content/browser/renderer_host/render_view_host.h" 26 #include "content/browser/renderer_host/render_view_host.h"
27 #include "content/browser/tab_contents/navigation_details.h" 27 #include "content/browser/tab_contents/navigation_details.h"
28 #include "content/browser/tab_contents/tab_contents.h" 28 #include "content/browser/tab_contents/tab_contents.h"
29 #include "content/browser/tab_contents/tab_contents_delegate.h" 29 #include "content/browser/tab_contents/tab_contents_delegate.h"
30 #include "content/public/browser/notification_service.h" 30 #include "content/public/browser/notification_service.h"
31 #include "content/common/view_messages.h" 31 #include "content/common/view_messages.h"
32 #include "webkit/fileapi/file_system_types.h" 32 #include "webkit/fileapi/file_system_types.h"
33 33
34 using content::BrowserThread;
35
34 namespace { 36 namespace {
35 typedef std::list<TabSpecificContentSettings*> TabSpecificList; 37 typedef std::list<TabSpecificContentSettings*> TabSpecificList;
36 static base::LazyInstance<TabSpecificList> g_tab_specific( 38 static base::LazyInstance<TabSpecificList> g_tab_specific(
37 base::LINKER_INITIALIZED); 39 base::LINKER_INITIALIZED);
38 } 40 }
39 41
40 bool TabSpecificContentSettings::LocalSharedObjectsContainer::empty() const { 42 bool TabSpecificContentSettings::LocalSharedObjectsContainer::empty() const {
41 return appcaches_->empty() && 43 return appcaches_->empty() &&
42 cookies_->empty() && 44 cookies_->empty() &&
43 databases_->empty() && 45 databases_->empty() &&
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 return new CookiesTreeModel(cookies_->Clone(), 527 return new CookiesTreeModel(cookies_->Clone(),
526 databases_->Clone(), 528 databases_->Clone(),
527 local_storages_->Clone(), 529 local_storages_->Clone(),
528 session_storages_->Clone(), 530 session_storages_->Clone(),
529 appcaches_->Clone(), 531 appcaches_->Clone(),
530 indexed_dbs_->Clone(), 532 indexed_dbs_->Clone(),
531 file_systems_->Clone(), 533 file_systems_->Clone(),
532 NULL, 534 NULL,
533 true); 535 true);
534 } 536 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698