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

Side by Side Diff: extensions/browser/api/mime_handler_private/mime_handler_private.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "extensions/browser/api/mime_handler_private/mime_handler_private.h" 5 #include "extensions/browser/api/mime_handler_private/mime_handler_private.h"
6 6
7 #include <unordered_map> 7 #include <unordered_map>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/memory/ptr_util.h"
10 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
11 #include "content/public/browser/stream_handle.h" 12 #include "content/public/browser/stream_handle.h"
12 #include "content/public/browser/stream_info.h" 13 #include "content/public/browser/stream_info.h"
13 #include "content/public/common/content_constants.h" 14 #include "content/public/common/content_constants.h"
14 #include "extensions/browser/guest_view/mime_handler_view/mime_handler_view_gues t.h" 15 #include "extensions/browser/guest_view/mime_handler_view/mime_handler_view_gues t.h"
15 #include "extensions/common/constants.h" 16 #include "extensions/common/constants.h"
16 #include "mojo/public/cpp/bindings/strong_binding.h" 17 #include "mojo/public/cpp/bindings/strong_binding.h"
17 #include "net/http/http_response_headers.h" 18 #include "net/http/http_response_headers.h"
18 19
19 namespace extensions { 20 namespace extensions {
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 result->original_url = info->original_url.spec(); 115 result->original_url = info->original_url.spec();
115 } 116 }
116 117
117 result->stream_url = info->handle->GetURL().spec(); 118 result->stream_url = info->handle->GetURL().spec();
118 result->response_headers = 119 result->response_headers =
119 extensions::CreateResponseHeadersMap(info->response_headers.get()); 120 extensions::CreateResponseHeadersMap(info->response_headers.get());
120 return result; 121 return result;
121 } 122 }
122 123
123 } // namespace mojo 124 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698