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

Side by Side Diff: extensions/browser/lazy_background_task_queue.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 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 "extensions/browser/lazy_background_task_queue.h" 5 #include "extensions/browser/lazy_background_task_queue.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/memory/ptr_util.h"
8 #include "content/public/browser/browser_context.h" 9 #include "content/public/browser/browser_context.h"
9 #include "content/public/browser/notification_service.h" 10 #include "content/public/browser/notification_service.h"
10 #include "content/public/browser/render_process_host.h" 11 #include "content/public/browser/render_process_host.h"
11 #include "content/public/browser/render_view_host.h" 12 #include "content/public/browser/render_view_host.h"
12 #include "content/public/browser/site_instance.h" 13 #include "content/public/browser/site_instance.h"
13 #include "content/public/browser/web_contents.h" 14 #include "content/public/browser/web_contents.h"
14 #include "extensions/browser/extension_host.h" 15 #include "extensions/browser/extension_host.h"
15 #include "extensions/browser/extension_registry.h" 16 #include "extensions/browser/extension_registry.h"
16 #include "extensions/browser/extensions_browser_client.h" 17 #include "extensions/browser/extensions_browser_client.h"
17 #include "extensions/browser/lazy_background_task_queue_factory.h" 18 #include "extensions/browser/lazy_background_task_queue_factory.h"
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 // task queue as well. 185 // task queue as well.
185 ExtensionsBrowserClient* browser_client = ExtensionsBrowserClient::Get(); 186 ExtensionsBrowserClient* browser_client = ExtensionsBrowserClient::Get();
186 if (browser_client->HasOffTheRecordContext(browser_context)) { 187 if (browser_client->HasOffTheRecordContext(browser_context)) {
187 ProcessPendingTasks(NULL, 188 ProcessPendingTasks(NULL,
188 browser_client->GetOffTheRecordContext(browser_context), 189 browser_client->GetOffTheRecordContext(browser_context),
189 extension); 190 extension);
190 } 191 }
191 } 192 }
192 193
193 } // namespace extensions 194 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698