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

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: Yet another rebase 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
« no previous file with comments | « chrome/browser/instant/instant_service.cc ('k') | chrome/browser/instant/instant_test_utils.h » ('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 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 15 matching lines...) Expand all
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 ProfileKeyedService* InstantServiceFactory::BuildServiceInstanceFor( 34 ProfileKeyedService* InstantServiceFactory::BuildServiceInstanceFor(
35 Profile* profile) const { 35 Profile* profile) const {
36 return new InstantService; 36 return new InstantService(profile);
37 } 37 }
OLDNEW
« no previous file with comments | « chrome/browser/instant/instant_service.cc ('k') | chrome/browser/instant/instant_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698