OLD | NEW |
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 "chrome/browser/media/media_stream_infobar_delegate_android.h" | 5 #include "chrome/browser/media/media_stream_infobar_delegate_android.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/logging.h" | 9 #include "base/logging.h" |
8 #include "base/metrics/histogram.h" | 10 #include "base/metrics/histogram.h" |
9 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
10 #include "chrome/browser/infobars/infobar_service.h" | 12 #include "chrome/browser/infobars/infobar_service.h" |
11 #include "chrome/common/url_constants.h" | 13 #include "chrome/common/url_constants.h" |
12 #include "chrome/grit/generated_resources.h" | 14 #include "chrome/grit/generated_resources.h" |
13 #include "components/google/core/browser/google_util.h" | 15 #include "components/google/core/browser/google_util.h" |
14 #include "components/infobars/core/infobar.h" | 16 #include "components/infobars/core/infobar.h" |
15 #include "content/public/browser/web_contents.h" | 17 #include "content/public/browser/web_contents.h" |
16 #include "content/public/common/origin_util.h" | 18 #include "content/public/common/origin_util.h" |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 return true; | 137 return true; |
136 } | 138 } |
137 | 139 |
138 base::string16 MediaStreamInfoBarDelegateAndroid::GetLinkText() const { | 140 base::string16 MediaStreamInfoBarDelegateAndroid::GetLinkText() const { |
139 return base::string16(); | 141 return base::string16(); |
140 } | 142 } |
141 | 143 |
142 GURL MediaStreamInfoBarDelegateAndroid::GetLinkURL() const { | 144 GURL MediaStreamInfoBarDelegateAndroid::GetLinkURL() const { |
143 return GURL(chrome::kMediaAccessLearnMoreUrl); | 145 return GURL(chrome::kMediaAccessLearnMoreUrl); |
144 } | 146 } |
OLD | NEW |