Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "apps/app_window_contents.h" | 5 #include "apps/app_window_contents.h" |
| 6 | 6 |
| 7 #include <utility> | |
|
marja
2014/07/18 07:34:04
Why is this needed?
rucifer1217
2014/07/18 09:06:03
pair<> is need utility.
| |
| 8 #include <string> | |
| 9 | |
| 7 #include "apps/ui/native_app_window.h" | 10 #include "apps/ui/native_app_window.h" |
| 8 #include "chrome/browser/chrome_notification_types.h" | 11 #include "chrome/browser/chrome_notification_types.h" |
| 9 #include "chrome/common/extensions/api/app_window.h" | 12 #include "chrome/common/extensions/api/app_window.h" |
| 10 #include "content/public/browser/browser_context.h" | 13 #include "content/public/browser/browser_context.h" |
| 11 #include "content/public/browser/browser_thread.h" | 14 #include "content/public/browser/browser_thread.h" |
| 12 #include "content/public/browser/notification_details.h" | 15 #include "content/public/browser/notification_details.h" |
| 13 #include "content/public/browser/notification_source.h" | 16 #include "content/public/browser/notification_source.h" |
| 14 #include "content/public/browser/render_process_host.h" | 17 #include "content/public/browser/render_process_host.h" |
| 15 #include "content/public/browser/render_view_host.h" | 18 #include "content/public/browser/render_view_host.h" |
| 16 #include "content/public/browser/resource_dispatcher_host.h" | 19 #include "content/public/browser/resource_dispatcher_host.h" |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 166 content::RenderViewHost* rvh) { | 169 content::RenderViewHost* rvh) { |
| 167 DCHECK(rvh); | 170 DCHECK(rvh); |
| 168 content::BrowserThread::PostTask( | 171 content::BrowserThread::PostTask( |
| 169 content::BrowserThread::IO, FROM_HERE, | 172 content::BrowserThread::IO, FROM_HERE, |
| 170 base::Bind(&content::ResourceDispatcherHost::BlockRequestsForRoute, | 173 base::Bind(&content::ResourceDispatcherHost::BlockRequestsForRoute, |
| 171 base::Unretained(content::ResourceDispatcherHost::Get()), | 174 base::Unretained(content::ResourceDispatcherHost::Get()), |
| 172 rvh->GetProcess()->GetID(), rvh->GetRoutingID())); | 175 rvh->GetProcess()->GetID(), rvh->GetRoutingID())); |
| 173 } | 176 } |
| 174 | 177 |
| 175 } // namespace apps | 178 } // namespace apps |
| OLD | NEW |