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

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

Issue 11896113: Add chrome-search: access from Instant overlay (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Charlie's comments. Created 7 years, 9 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 13 matching lines...) Expand all
24 // No dependencies. 24 // No dependencies.
25 } 25 }
26 26
27 InstantServiceFactory::~InstantServiceFactory() { 27 InstantServiceFactory::~InstantServiceFactory() {
28 } 28 }
29 29
30 bool InstantServiceFactory::ServiceRedirectedInIncognito() const { 30 bool InstantServiceFactory::ServiceRedirectedInIncognito() const {
31 return true; 31 return true;
32 } 32 }
33 33
34 bool InstantServiceFactory::ServiceIsNULLWhileTesting() const {
35 return false;
36 }
37
34 ProfileKeyedService* InstantServiceFactory::BuildServiceInstanceFor( 38 ProfileKeyedService* InstantServiceFactory::BuildServiceInstanceFor(
35 Profile* profile) const { 39 Profile* profile) const {
36 return new InstantService; 40 return new InstantService(profile);
37 } 41 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698