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

Side by Side Diff: chrome/browser/infobars/infobar_service.cc

Issue 798923003: Make chrome/renderer/content_settings_observer.cc depend on //components/contents_settings for IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix fuzzer compilation Created 5 years, 8 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/infobars/infobar_service.h" 5 #include "chrome/browser/infobars/infobar_service.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "chrome/browser/chrome_notification_types.h" 8 #include "chrome/browser/chrome_notification_types.h"
9 #include "chrome/browser/infobars/insecure_content_infobar_delegate.h" 9 #include "chrome/browser/infobars/insecure_content_infobar_delegate.h"
10 #include "chrome/common/render_messages.h" 10 #include "chrome/common/render_messages.h"
11 #include "components/content_settings/content/common/content_settings_messages.h "
11 #include "components/infobars/core/infobar.h" 12 #include "components/infobars/core/infobar.h"
12 #include "content/public/browser/navigation_details.h" 13 #include "content/public/browser/navigation_details.h"
13 #include "content/public/browser/navigation_entry.h" 14 #include "content/public/browser/navigation_entry.h"
14 #include "content/public/browser/notification_service.h" 15 #include "content/public/browser/notification_service.h"
15 #include "content/public/browser/web_contents.h" 16 #include "content/public/browser/web_contents.h"
16 17
17 DEFINE_WEB_CONTENTS_USER_DATA_KEY(InfoBarService); 18 DEFINE_WEB_CONTENTS_USER_DATA_KEY(InfoBarService);
18 19
19 using infobars::InfoBar; 20 using infobars::InfoBar;
20 using infobars::InfoBarDelegate; 21 using infobars::InfoBarDelegate;
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 IPC_MESSAGE_HANDLER(ChromeViewHostMsg_DidBlockDisplayingInsecureContent, 132 IPC_MESSAGE_HANDLER(ChromeViewHostMsg_DidBlockDisplayingInsecureContent,
132 OnDidBlockDisplayingInsecureContent) 133 OnDidBlockDisplayingInsecureContent)
133 IPC_MESSAGE_UNHANDLED(handled = false) 134 IPC_MESSAGE_UNHANDLED(handled = false)
134 IPC_END_MESSAGE_MAP() 135 IPC_END_MESSAGE_MAP()
135 return handled; 136 return handled;
136 } 137 }
137 138
138 void InfoBarService::OnDidBlockDisplayingInsecureContent() { 139 void InfoBarService::OnDidBlockDisplayingInsecureContent() {
139 InsecureContentInfoBarDelegate::Create(this); 140 InsecureContentInfoBarDelegate::Create(this);
140 } 141 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698