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

Side by Side Diff: chrome/browser/browser_process_platform_part_base.cc

Issue 138163015: More fixes to enable ios build with policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed obsolete files from gyp Created 6 years, 11 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "base/logging.h" 5 #include "base/logging.h"
6 #include "chrome/browser/browser_process_platform_part_base.h" 6 #include "chrome/browser/browser_process_platform_part_base.h"
7 #include "chrome/browser/lifetime/application_lifetime.h" 7 #include "chrome/browser/lifetime/application_lifetime.h"
8 8
9 #if defined(ENABLE_CONFIGURATION_POLICY) 9 #if defined(ENABLE_CONFIGURATION_POLICY)
10 #include "components/policy/core/browser/browser_policy_connector.h"
11 #if !defined(OS_IOS)
10 #include "chrome/browser/policy/chrome_browser_policy_connector.h" 12 #include "chrome/browser/policy/chrome_browser_policy_connector.h"
11 #endif 13 #endif
14 #endif
12 15
13 BrowserProcessPlatformPartBase::BrowserProcessPlatformPartBase() { 16 BrowserProcessPlatformPartBase::BrowserProcessPlatformPartBase() {
14 } 17 }
15 18
16 BrowserProcessPlatformPartBase::~BrowserProcessPlatformPartBase() { 19 BrowserProcessPlatformPartBase::~BrowserProcessPlatformPartBase() {
17 } 20 }
18 21
19 void BrowserProcessPlatformPartBase::PlatformSpecificCommandLineProcessing( 22 void BrowserProcessPlatformPartBase::PlatformSpecificCommandLineProcessing(
20 const CommandLine& /* command_line */) { 23 const CommandLine& /* command_line */) {
21 } 24 }
(...skipping 11 matching lines...) Expand all
33 chrome::CloseAllBrowsers(); 36 chrome::CloseAllBrowsers();
34 #endif 37 #endif
35 } 38 }
36 39
37 void BrowserProcessPlatformPartBase::PreMainMessageLoopRun() { 40 void BrowserProcessPlatformPartBase::PreMainMessageLoopRun() {
38 } 41 }
39 42
40 #if defined(ENABLE_CONFIGURATION_POLICY) 43 #if defined(ENABLE_CONFIGURATION_POLICY)
41 scoped_ptr<policy::BrowserPolicyConnector> 44 scoped_ptr<policy::BrowserPolicyConnector>
42 BrowserProcessPlatformPartBase::CreateBrowserPolicyConnector() { 45 BrowserProcessPlatformPartBase::CreateBrowserPolicyConnector() {
46 #if defined(OS_IOS)
47 NOTREACHED();
48 return scoped_ptr<policy::BrowserPolicyConnector>();
49 #else
43 return scoped_ptr<policy::BrowserPolicyConnector>( 50 return scoped_ptr<policy::BrowserPolicyConnector>(
44 new policy::ChromeBrowserPolicyConnector()); 51 new policy::ChromeBrowserPolicyConnector());
52 #endif
45 } 53 }
46 #endif 54 #endif
OLDNEW
« no previous file with comments | « build/ios/grit_whitelist.txt ('k') | chrome/browser/policy/configuration_policy_handler_list_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698