OLD | NEW |
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 10 matching lines...) Expand all Loading... |
21 #include "chrome/browser/cookies_tree_model.h" | 21 #include "chrome/browser/cookies_tree_model.h" |
22 #include "chrome/browser/profiles/profile.h" | 22 #include "chrome/browser/profiles/profile.h" |
23 #include "chrome/common/chrome_notification_types.h" | 23 #include "chrome/common/chrome_notification_types.h" |
24 #include "chrome/common/chrome_switches.h" | 24 #include "chrome/common/chrome_switches.h" |
25 #include "chrome/common/render_messages.h" | 25 #include "chrome/common/render_messages.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" | |
32 #include "webkit/fileapi/file_system_types.h" | 31 #include "webkit/fileapi/file_system_types.h" |
33 | 32 |
34 using content::BrowserThread; | 33 using content::BrowserThread; |
35 | 34 |
36 namespace { | 35 namespace { |
37 typedef std::list<TabSpecificContentSettings*> TabSpecificList; | 36 typedef std::list<TabSpecificContentSettings*> TabSpecificList; |
38 static base::LazyInstance<TabSpecificList> g_tab_specific = | 37 static base::LazyInstance<TabSpecificList> g_tab_specific = |
39 LAZY_INSTANCE_INITIALIZER; | 38 LAZY_INSTANCE_INITIALIZER; |
40 } | 39 } |
41 | 40 |
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
514 return new CookiesTreeModel(cookies_->Clone(), | 513 return new CookiesTreeModel(cookies_->Clone(), |
515 databases_->Clone(), | 514 databases_->Clone(), |
516 local_storages_->Clone(), | 515 local_storages_->Clone(), |
517 session_storages_->Clone(), | 516 session_storages_->Clone(), |
518 appcaches_->Clone(), | 517 appcaches_->Clone(), |
519 indexed_dbs_->Clone(), | 518 indexed_dbs_->Clone(), |
520 file_systems_->Clone(), | 519 file_systems_->Clone(), |
521 NULL, | 520 NULL, |
522 true); | 521 true); |
523 } | 522 } |
OLD | NEW |