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

Side by Side Diff: chrome/browser/ui/views/collected_cookies_win.cc

Issue 6951008: Have AppCache code go through the content embedder API for content settings checks. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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) 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/ui/views/collected_cookies_win.h" 5 #include "chrome/browser/ui/views/collected_cookies_win.h"
6 6
7 #include "chrome/browser/content_settings/host_content_settings_map.h"
7 #include "chrome/browser/cookies_tree_model.h" 8 #include "chrome/browser/cookies_tree_model.h"
8 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/ui/collected_cookies_infobar_delegate.h" 10 #include "chrome/browser/ui/collected_cookies_infobar_delegate.h"
10 #include "chrome/browser/ui/views/cookie_info_view.h" 11 #include "chrome/browser/ui/views/cookie_info_view.h"
11 #include "content/browser/tab_contents/tab_contents.h" 12 #include "content/browser/tab_contents/tab_contents.h"
12 #include "content/common/notification_details.h" 13 #include "content/common/notification_details.h"
13 #include "content/common/notification_source.h" 14 #include "content/common/notification_source.h"
14 #include "grit/generated_resources.h" 15 #include "grit/generated_resources.h"
15 #include "grit/locale_settings.h" 16 #include "grit/locale_settings.h"
16 #include "grit/theme_resources.h" 17 #include "grit/theme_resources.h"
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 // NotificationObserver implementation. 491 // NotificationObserver implementation.
491 492
492 void CollectedCookiesWin::Observe(NotificationType type, 493 void CollectedCookiesWin::Observe(NotificationType type,
493 const NotificationSource& source, 494 const NotificationSource& source,
494 const NotificationDetails& details) { 495 const NotificationDetails& details) {
495 DCHECK(type == NotificationType::COLLECTED_COOKIES_SHOWN); 496 DCHECK(type == NotificationType::COLLECTED_COOKIES_SHOWN);
496 DCHECK_EQ(Source<TabSpecificContentSettings>(source).ptr(), 497 DCHECK_EQ(Source<TabSpecificContentSettings>(source).ptr(),
497 tab_contents_->GetTabSpecificContentSettings()); 498 tab_contents_->GetTabSpecificContentSettings());
498 window_->CloseConstrainedWindow(); 499 window_->CloseConstrainedWindow();
499 } 500 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/collected_cookies_gtk.cc ('k') | chrome/browser/ui/webui/collected_cookies_ui_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698