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

Side by Side Diff: chrome/browser/android/blimp/blimp_client_context_factory.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
« no previous file with comments | « cc/trees/proxy_main.cc ('k') | chrome/browser/browser_process_platform_part_chromeos.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/android/blimp/blimp_client_context_factory.h" 5 #include "chrome/browser/android/blimp/blimp_client_context_factory.h"
6 6
7 #include "base/memory/ptr_util.h"
7 #include "base/memory/singleton.h" 8 #include "base/memory/singleton.h"
8 #include "base/supports_user_data.h" 9 #include "base/supports_user_data.h"
9 #include "blimp/client/public/blimp_client_context.h" 10 #include "blimp/client/public/blimp_client_context.h"
10 #include "blimp/client/public/compositor/compositor_dependencies.h" 11 #include "blimp/client/public/compositor/compositor_dependencies.h"
11 #include "chrome/browser/android/blimp/chrome_compositor_dependencies.h" 12 #include "chrome/browser/android/blimp/chrome_compositor_dependencies.h"
12 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
13 #include "components/keyed_service/content/browser_context_dependency_manager.h" 14 #include "components/keyed_service/content/browser_context_dependency_manager.h"
14 #include "content/public/browser/browser_context.h" 15 #include "content/public/browser/browser_context.h"
15 #include "content/public/browser/browser_thread.h" 16 #include "content/public/browser/browser_thread.h"
16 #include "ui/android/context_provider_factory.h" 17 #include "ui/android/context_provider_factory.h"
(...skipping 28 matching lines...) Expand all
45 content::BrowserThread::FILE), 46 content::BrowserThread::FILE),
46 base::MakeUnique<ChromeCompositorDependencies>( 47 base::MakeUnique<ChromeCompositorDependencies>(
47 ui::ContextProviderFactory::GetInstance()), 48 ui::ContextProviderFactory::GetInstance()),
48 Profile::FromBrowserContext(context)->GetPrefs()); 49 Profile::FromBrowserContext(context)->GetPrefs());
49 } 50 }
50 51
51 content::BrowserContext* BlimpClientContextFactory::GetBrowserContextToUse( 52 content::BrowserContext* BlimpClientContextFactory::GetBrowserContextToUse(
52 content::BrowserContext* context) const { 53 content::BrowserContext* context) const {
53 return context; 54 return context;
54 } 55 }
OLDNEW
« no previous file with comments | « cc/trees/proxy_main.cc ('k') | chrome/browser/browser_process_platform_part_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698