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

Side by Side Diff: chrome/browser/content_settings/tab_specific_content_settings.cc

Issue 10785017: Move CanonicalCookie into separate files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing include Created 8 years, 5 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/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/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/public/browser/navigation_controller.h" 26 #include "content/public/browser/navigation_controller.h"
27 #include "content/public/browser/navigation_details.h" 27 #include "content/public/browser/navigation_details.h"
28 #include "content/public/browser/navigation_entry.h" 28 #include "content/public/browser/navigation_entry.h"
29 #include "content/public/browser/notification_service.h" 29 #include "content/public/browser/notification_service.h"
30 #include "content/public/browser/render_view_host.h" 30 #include "content/public/browser/render_view_host.h"
31 #include "content/public/browser/render_view_host_observer.h" 31 #include "content/public/browser/render_view_host_observer.h"
32 #include "content/public/browser/web_contents.h" 32 #include "content/public/browser/web_contents.h"
33 #include "content/public/browser/web_contents_delegate.h" 33 #include "content/public/browser/web_contents_delegate.h"
34 #include "net/cookies/canonical_cookie.h"
34 #include "webkit/fileapi/file_system_types.h" 35 #include "webkit/fileapi/file_system_types.h"
35 36
36 using content::BrowserThread; 37 using content::BrowserThread;
37 using content::NavigationController; 38 using content::NavigationController;
38 using content::NavigationEntry; 39 using content::NavigationEntry;
39 using content::RenderViewHost; 40 using content::RenderViewHost;
40 using content::WebContents; 41 using content::WebContents;
41 42
42 namespace { 43 namespace {
43 typedef std::list<TabSpecificContentSettings*> TabSpecificList; 44 typedef std::list<TabSpecificContentSettings*> TabSpecificList;
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 } 538 }
538 539
539 void TabSpecificContentSettings::RemoveSiteDataObserver( 540 void TabSpecificContentSettings::RemoveSiteDataObserver(
540 SiteDataObserver* observer) { 541 SiteDataObserver* observer) {
541 observer_list_.RemoveObserver(observer); 542 observer_list_.RemoveObserver(observer);
542 } 543 }
543 544
544 void TabSpecificContentSettings::NotifySiteDataObservers() { 545 void TabSpecificContentSettings::NotifySiteDataObservers() {
545 FOR_EACH_OBSERVER(SiteDataObserver, observer_list_, OnSiteDataAccessed()); 546 FOR_EACH_OBSERVER(SiteDataObserver, observer_list_, OnSiteDataAccessed());
546 } 547 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698