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

Side by Side Diff: ash/shell/shell_delegate_impl.cc

Issue 2437393002: Remove ash::ShellDelegate::IsFirstRunAfterBoot method (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « ash/shell/shell_delegate_impl.h ('k') | ash/test/test_shell_delegate.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "ash/shell/shell_delegate_impl.h" 5 #include "ash/shell/shell_delegate_impl.h"
6 6
7 #include "ash/app_list/app_list_presenter_delegate_factory.h" 7 #include "ash/app_list/app_list_presenter_delegate_factory.h"
8 #include "ash/common/accessibility_delegate.h" 8 #include "ash/common/accessibility_delegate.h"
9 #include "ash/common/default_accessibility_delegate.h" 9 #include "ash/common/default_accessibility_delegate.h"
10 #include "ash/common/gpu_support_stub.h" 10 #include "ash/common/gpu_support_stub.h"
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 : shelf_delegate_(nullptr), 194 : shelf_delegate_(nullptr),
195 app_list_presenter_delegate_factory_(new AppListPresenterDelegateFactory( 195 app_list_presenter_delegate_factory_(new AppListPresenterDelegateFactory(
196 base::WrapUnique(new AppListViewDelegateFactoryImpl))) {} 196 base::WrapUnique(new AppListViewDelegateFactoryImpl))) {}
197 197
198 ShellDelegateImpl::~ShellDelegateImpl() {} 198 ShellDelegateImpl::~ShellDelegateImpl() {}
199 199
200 ::service_manager::Connector* ShellDelegateImpl::GetShellConnector() const { 200 ::service_manager::Connector* ShellDelegateImpl::GetShellConnector() const {
201 return nullptr; 201 return nullptr;
202 } 202 }
203 203
204 bool ShellDelegateImpl::IsFirstRunAfterBoot() const {
205 return false;
206 }
207
208 bool ShellDelegateImpl::IsIncognitoAllowed() const { 204 bool ShellDelegateImpl::IsIncognitoAllowed() const {
209 return true; 205 return true;
210 } 206 }
211 207
212 bool ShellDelegateImpl::IsMultiProfilesEnabled() const { 208 bool ShellDelegateImpl::IsMultiProfilesEnabled() const {
213 return false; 209 return false;
214 } 210 }
215 211
216 bool ShellDelegateImpl::IsRunningInForcedAppMode() const { 212 bool ShellDelegateImpl::IsRunningInForcedAppMode() const {
217 return false; 213 return false;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 base::string16 ShellDelegateImpl::GetProductName() const { 290 base::string16 ShellDelegateImpl::GetProductName() const {
295 return base::string16(); 291 return base::string16();
296 } 292 }
297 293
298 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const { 294 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const {
299 return gfx::Image(); 295 return gfx::Image();
300 } 296 }
301 297
302 } // namespace shell 298 } // namespace shell
303 } // namespace ash 299 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shell/shell_delegate_impl.h ('k') | ash/test/test_shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698