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

Side by Side Diff: chrome/browser/ui/app_list/test/fake_profile.cc

Issue 317823007: Hook PushMessagingMessageFilter up to GCMDriver (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Send failure IPC when service is NULL Created 6 years, 6 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/ui/app_list/test/fake_profile.h ('k') | chrome/chrome_browser.gypi » ('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/ui/app_list/test/fake_profile.h" 5 #include "chrome/browser/ui/app_list/test/fake_profile.h"
6 6
7 FakeProfile::FakeProfile(const std::string& name) 7 FakeProfile::FakeProfile(const std::string& name)
8 : name_(name) { 8 : name_(name) {
9 } 9 }
10 10
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 } 95 }
96 96
97 content::BrowserPluginGuestManager* FakeProfile::GetGuestManager() { 97 content::BrowserPluginGuestManager* FakeProfile::GetGuestManager() {
98 return NULL; 98 return NULL;
99 } 99 }
100 100
101 quota::SpecialStoragePolicy* FakeProfile::GetSpecialStoragePolicy() { 101 quota::SpecialStoragePolicy* FakeProfile::GetSpecialStoragePolicy() {
102 return NULL; 102 return NULL;
103 } 103 }
104 104
105 content::PushMessagingService* FakeProfile::GetPushMessagingService() {
106 return NULL;
107 }
108
105 scoped_refptr<base::SequencedTaskRunner> 109 scoped_refptr<base::SequencedTaskRunner>
106 FakeProfile::GetIOTaskRunner() { 110 FakeProfile::GetIOTaskRunner() {
107 return scoped_refptr<base::SequencedTaskRunner>(); 111 return scoped_refptr<base::SequencedTaskRunner>();
108 } 112 }
109 113
110 Profile* FakeProfile::GetOffTheRecordProfile() { 114 Profile* FakeProfile::GetOffTheRecordProfile() {
111 return NULL; 115 return NULL;
112 } 116 }
113 117
114 void FakeProfile::DestroyOffTheRecordProfile() {} 118 void FakeProfile::DestroyOffTheRecordProfile() {}
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { 234 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) {
231 return false; 235 return false;
232 } 236 }
233 237
234 void FakeProfile::SetExitType(ExitType exit_type) { 238 void FakeProfile::SetExitType(ExitType exit_type) {
235 } 239 }
236 240
237 Profile::ExitType FakeProfile::GetLastSessionExitType() { 241 Profile::ExitType FakeProfile::GetLastSessionExitType() {
238 return EXIT_NORMAL; 242 return EXIT_NORMAL;
239 } 243 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/test/fake_profile.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698