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

Side by Side Diff: components/security_interstitials/core/ssl_error_ui.cc

Issue 2712513004: Use a qualified path for grit-generated headers in components/ (Closed)
Patch Set: more checkdeps Created 3 years, 9 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/security_interstitials/core/ssl_error_ui.h" 5 #include "components/security_interstitials/core/ssl_error_ui.h"
6 6
7 #include "base/i18n/time_formatting.h" 7 #include "base/i18n/time_formatting.h"
8 #include "components/security_interstitials/core/common_string_util.h" 8 #include "components/security_interstitials/core/common_string_util.h"
9 #include "components/security_interstitials/core/metrics_helper.h" 9 #include "components/security_interstitials/core/metrics_helper.h"
10 #include "components/ssl_errors/error_classification.h" 10 #include "components/ssl_errors/error_classification.h"
11 #include "components/ssl_errors/error_info.h" 11 #include "components/ssl_errors/error_info.h"
12 #include "grit/components_strings.h" 12 #include "components/strings/grit/components_strings.h"
13 #include "ui/base/l10n/l10n_util.h" 13 #include "ui/base/l10n/l10n_util.h"
14 14
15 namespace security_interstitials { 15 namespace security_interstitials {
16 namespace { 16 namespace {
17 17
18 // URL for help page. 18 // URL for help page.
19 const char kHelpURL[] = "https://support.google.com/chrome/answer/6098869"; 19 const char kHelpURL[] = "https://support.google.com/chrome/answer/6098869";
20 20
21 bool IsMasked(int options, SSLErrorUI::SSLErrorOptionsMask mask) { 21 bool IsMasked(int options, SSLErrorUI::SSLErrorOptionsMask mask) {
22 return ((options & mask) != 0); 22 return ((options & mask) != 0);
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 NOTREACHED() << "Unsupported command: " << command; 193 NOTREACHED() << "Unsupported command: " << command;
194 case CMD_ERROR: 194 case CMD_ERROR:
195 case CMD_TEXT_FOUND: 195 case CMD_TEXT_FOUND:
196 case CMD_TEXT_NOT_FOUND: 196 case CMD_TEXT_NOT_FOUND:
197 // Commands are for testing. 197 // Commands are for testing.
198 break; 198 break;
199 } 199 }
200 } 200 }
201 201
202 } // security_interstitials 202 } // security_interstitials
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698