OLD | NEW |
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 "ios/public/provider/chrome/browser/chrome_browser_provider.h" | 5 #include "ios/public/provider/chrome/browser/chrome_browser_provider.h" |
6 | 6 |
7 #include <cstddef> | 7 #include <cstddef> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "components/metrics/metrics_provider.h" | 10 #include "components/metrics/metrics_provider.h" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 } | 59 } |
60 | 60 |
61 std::string ChromeBrowserProvider::GetDistributionBrandCode() { | 61 std::string ChromeBrowserProvider::GetDistributionBrandCode() { |
62 return std::string(); | 62 return std::string(); |
63 } | 63 } |
64 | 64 |
65 std::string ChromeBrowserProvider::GetRiskData() { | 65 std::string ChromeBrowserProvider::GetRiskData() { |
66 return std::string(); | 66 return std::string(); |
67 } | 67 } |
68 | 68 |
69 bool ChromeBrowserProvider::IsOffTheRecordSessionActive() { | |
70 return false; | |
71 } | |
72 | |
73 void ChromeBrowserProvider::GetFaviconForURL( | 69 void ChromeBrowserProvider::GetFaviconForURL( |
74 ios::ChromeBrowserState* browser_state, | 70 ios::ChromeBrowserState* browser_state, |
75 const GURL& page_url, | 71 const GURL& page_url, |
76 const std::vector<int>& desired_sizes_in_pixel, | 72 const std::vector<int>& desired_sizes_in_pixel, |
77 const favicon_base::FaviconResultsCallback& callback) const {} | 73 const favicon_base::FaviconResultsCallback& callback) const {} |
78 | 74 |
79 UITextField<TextFieldStyling>* ChromeBrowserProvider::CreateStyledTextField( | 75 UITextField<TextFieldStyling>* ChromeBrowserProvider::CreateStyledTextField( |
80 CGRect frame) const { | 76 CGRect frame) const { |
81 return nil; | 77 return nil; |
82 } | 78 } |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 id<NativeAppWhitelistManager> | 131 id<NativeAppWhitelistManager> |
136 ChromeBrowserProvider::GetNativeAppWhitelistManager() const { | 132 ChromeBrowserProvider::GetNativeAppWhitelistManager() const { |
137 return nil; | 133 return nil; |
138 } | 134 } |
139 | 135 |
140 void ChromeBrowserProvider::HideModalViewStack() const {} | 136 void ChromeBrowserProvider::HideModalViewStack() const {} |
141 | 137 |
142 void ChromeBrowserProvider::LogIfModalViewsArePresented() const {} | 138 void ChromeBrowserProvider::LogIfModalViewsArePresented() const {} |
143 | 139 |
144 } // namespace ios | 140 } // namespace ios |
OLD | NEW |