[Metrics] Make MetricsStateManager take a callback param to check if UMA is enabled.
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / external_protocol_dialog.h
blobba0a4de0aa82aedca2222cdea5fd3f14e2f74d3e
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #import <Cocoa/Cocoa.h>
7 #include "base/time/time.h"
8 #include "url/gurl.h"
10 @interface ExternalProtocolDialogController : NSObject {
11 @private
12 NSAlert* alert_;
13 GURL url_;
14 int render_process_host_id_;
15 int routing_id_;
16 base::Time creation_time_;
19 - (id)initWithGURL:(const GURL*)url
20 renderProcessHostId:(int)renderProcessHostId
21 routingId:(int)routingId;
23 @end