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

Side by Side Diff: chrome/browser/custom_handlers/register_protocol_handler_permission_request.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/custom_handlers/register_protocol_handler_permission_re quest.h" 5 #include "chrome/browser/custom_handlers/register_protocol_handler_permission_re quest.h"
6 6
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "build/build_config.h"
8 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" 9 #include "chrome/browser/custom_handlers/protocol_handler_registry.h"
9 #include "chrome/grit/generated_resources.h" 10 #include "chrome/grit/generated_resources.h"
10 #include "content/public/browser/user_metrics.h" 11 #include "content/public/browser/user_metrics.h"
11 #include "ui/base/l10n/l10n_util.h" 12 #include "ui/base/l10n/l10n_util.h"
12 #include "ui/gfx/vector_icons_public.h" 13 #include "ui/gfx/vector_icons_public.h"
13 14
14 #if defined(OS_MACOSX) 15 #if defined(OS_MACOSX)
15 #include "grit/theme_resources.h" 16 #include "grit/theme_resources.h"
16 #endif 17 #endif
17 18
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 110
110 void RegisterProtocolHandlerPermissionRequest::Cancelled() { 111 void RegisterProtocolHandlerPermissionRequest::Cancelled() {
111 content::RecordAction( 112 content::RecordAction(
112 base::UserMetricsAction("RegisterProtocolHandler.InfoBar_Deny")); 113 base::UserMetricsAction("RegisterProtocolHandler.InfoBar_Deny"));
113 registry_->OnIgnoreRegisterProtocolHandler(handler_); 114 registry_->OnIgnoreRegisterProtocolHandler(handler_);
114 } 115 }
115 116
116 void RegisterProtocolHandlerPermissionRequest::RequestFinished() { 117 void RegisterProtocolHandlerPermissionRequest::RequestFinished() {
117 delete this; 118 delete this;
118 } 119 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698