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

Side by Side Diff: chrome/browser/profiles/profile.cc

Issue 7601013: Web Intents: Hook up the register intent InfoBar with the WebIntentsRegistry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanups and fixes. Created 9 years, 4 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/profiles/profile.h" 5 #include "chrome/browser/profiles/profile.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 } 469 }
470 470
471 virtual bool HasCreatedDownloadManager() const { 471 virtual bool HasCreatedDownloadManager() const {
472 return (download_manager_.get() != NULL); 472 return (download_manager_.get() != NULL);
473 } 473 }
474 474
475 virtual PersonalDataManager* GetPersonalDataManager() { 475 virtual PersonalDataManager* GetPersonalDataManager() {
476 return NULL; 476 return NULL;
477 } 477 }
478 478
479 virtual WebIntentsRegistry* GetWebIntentsRegistry() {
480 return NULL;
481 }
482
479 virtual fileapi::FileSystemContext* GetFileSystemContext() { 483 virtual fileapi::FileSystemContext* GetFileSystemContext() {
480 CreateQuotaManagerAndClients(); 484 CreateQuotaManagerAndClients();
481 return file_system_context_.get(); 485 return file_system_context_.get();
482 } 486 }
483 487
484 virtual net::URLRequestContextGetter* GetRequestContext() { 488 virtual net::URLRequestContextGetter* GetRequestContext() {
485 return io_data_.GetMainRequestContextGetter(); 489 return io_data_.GetMainRequestContextGetter();
486 } 490 }
487 491
488 virtual quota::QuotaManager* GetQuotaManager() { 492 virtual quota::QuotaManager* GetQuotaManager() {
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
867 }; 871 };
868 #endif 872 #endif
869 873
870 Profile* Profile::CreateOffTheRecordProfile() { 874 Profile* Profile::CreateOffTheRecordProfile() {
871 #if defined(OS_CHROMEOS) 875 #if defined(OS_CHROMEOS)
872 if (Profile::IsGuestSession()) 876 if (Profile::IsGuestSession())
873 return new GuestSessionProfile(this); 877 return new GuestSessionProfile(this);
874 #endif 878 #endif
875 return new OffTheRecordProfileImpl(this); 879 return new OffTheRecordProfileImpl(this);
876 } 880 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698