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

Side by Side Diff: chrome/browser/geolocation/geolocation_confirm_infobar_delegate_factory.h

Issue 11644059: Change infobar creation to use a public static Create() method on the infobar delegate classes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 11 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_FACTORY_ H_
6 #define CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_FACTORY_ H_
7
8 #include "base/values.h"
9
10 class GeolocationConfirmInfoBarDelegate;
11 class GeolocationInfoBarQueueController;
12 class GeolocationPermissionRequestID;
13 class GURL;
14 class InfoBarService;
15
16 class GeolocationConfirmInfoBarDelegateFactory {
17 public:
18 GeolocationConfirmInfoBarDelegateFactory() {}
19 ~GeolocationConfirmInfoBarDelegateFactory() {}
20 static GeolocationConfirmInfoBarDelegate* Create(
21 InfoBarService* infobar_service,
22 GeolocationInfoBarQueueController* controller,
23 const GeolocationPermissionRequestID& id,
24 const GURL& requesting_frame_url,
25 const std::string& display_languages);
26
27 private:
28
29 DISALLOW_COPY_AND_ASSIGN(GeolocationConfirmInfoBarDelegateFactory);
30 };
31
32 #endif // CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_FACTO RY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698