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

Side by Side Diff: chrome/browser/instant/instant_service_factory.cc

Issue 12250033: Consolidate search terms extraction and Instant process determination. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Style nit Created 7 years, 10 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 | Annotate | Revision Log
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 "chrome/browser/instant/instant_service_factory.h" 5 #include "chrome/browser/instant/instant_service_factory.h"
6 6
7 #include "chrome/browser/instant/instant_service.h" 7 #include "chrome/browser/instant/instant_service.h"
8 #include "chrome/browser/profiles/profile_dependency_manager.h" 8 #include "chrome/browser/profiles/profile_dependency_manager.h"
9 9
10 // static 10 // static
(...skipping 18 matching lines...) Expand all
29 // No dependencies. 29 // No dependencies.
30 } 30 }
31 31
32 InstantServiceFactory::~InstantServiceFactory() { 32 InstantServiceFactory::~InstantServiceFactory() {
33 } 33 }
34 34
35 bool InstantServiceFactory::ServiceRedirectedInIncognito() const { 35 bool InstantServiceFactory::ServiceRedirectedInIncognito() const {
36 return true; 36 return true;
37 } 37 }
38 38
39 bool InstantServiceFactory::ServiceIsNULLWhileTesting() const {
40 return true;
41 }
42
43 ProfileKeyedService* InstantServiceFactory::BuildServiceInstanceFor( 39 ProfileKeyedService* InstantServiceFactory::BuildServiceInstanceFor(
44 Profile* profile) const { 40 Profile* profile) const {
45 return BuildInstanceFor(profile); 41 return BuildInstanceFor(profile);
46 } 42 }
OLDNEW
« no previous file with comments | « chrome/browser/instant/instant_service_factory.h ('k') | chrome/browser/instant/instant_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698