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

Side by Side Diff: chrome/browser/android/blimp/blimp_client_context_factory.cc

Issue 2292723003: Move remaining Blimp feature code to core. (Closed)
Patch Set: Fixed gn check failure Created 4 years, 3 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 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/singleton.h" 7 #include "base/memory/singleton.h"
8 #include "base/supports_user_data.h" 8 #include "base/supports_user_data.h"
9 #include "blimp/client/public/blimp_client_context.h" 9 #include "blimp/client/public/blimp_client_context.h"
10 #include "components/keyed_service/content/browser_context_dependency_manager.h" 10 #include "components/keyed_service/content/browser_context_dependency_manager.h"
(...skipping 20 matching lines...) Expand all
31 BrowserContextDependencyManager::GetInstance()) {} 31 BrowserContextDependencyManager::GetInstance()) {}
32 32
33 BlimpClientContextFactory::~BlimpClientContextFactory() {} 33 BlimpClientContextFactory::~BlimpClientContextFactory() {}
34 34
35 KeyedService* BlimpClientContextFactory::BuildServiceInstanceFor( 35 KeyedService* BlimpClientContextFactory::BuildServiceInstanceFor(
36 content::BrowserContext* context) const { 36 content::BrowserContext* context) const {
37 return blimp::client::BlimpClientContext::Create( 37 return blimp::client::BlimpClientContext::Create(
38 content::BrowserThread::GetTaskRunnerForThread( 38 content::BrowserThread::GetTaskRunnerForThread(
39 content::BrowserThread::IO), 39 content::BrowserThread::IO),
40 content::BrowserThread::GetTaskRunnerForThread( 40 content::BrowserThread::GetTaskRunnerForThread(
41 content::BrowserThread::FILE)); 41 content::BrowserThread::FILE),
42 nullptr);
42 } 43 }
43 44
44 content::BrowserContext* BlimpClientContextFactory::GetBrowserContextToUse( 45 content::BrowserContext* BlimpClientContextFactory::GetBrowserContextToUse(
45 content::BrowserContext* context) const { 46 content::BrowserContext* context) const {
46 return context; 47 return context;
47 } 48 }
OLDNEW
« blimp/client/session/blimp_client_session.cc ('K') | « cc/trees/layer_tree_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698