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

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

Issue 406483004: Initial implementation of API WakeLock. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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
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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { 191 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) {
192 return false; 192 return false;
193 } 193 }
194 194
195 void FakeProfile::SetExitType(ExitType exit_type) { 195 void FakeProfile::SetExitType(ExitType exit_type) {
196 } 196 }
197 197
198 Profile::ExitType FakeProfile::GetLastSessionExitType() { 198 Profile::ExitType FakeProfile::GetLastSessionExitType() {
199 return EXIT_NORMAL; 199 return EXIT_NORMAL;
200 } 200 }
201
202 content::WakeLockPermissionContext*
203 FakeProfile::GetWakeLockPermissionContext() {
204 return NULL;
205 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698