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

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

Issue 11269002: Introduce GeolocationPermissionRequestID, a wrapper struct to contain the (render process ID, rende… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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
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 #ifndef CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_FACTORY_ H_ 5 #ifndef CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_FACTORY_ H_
6 #define CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_FACTORY_ H_ 6 #define CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_FACTORY_ H_
7 7
8 #include "base/values.h" 8 #include "base/values.h"
9 9
10 class GeolocationConfirmInfoBarDelegate; 10 class GeolocationConfirmInfoBarDelegate;
11 class GeolocationInfoBarQueueController; 11 class GeolocationInfoBarQueueController;
12 class GeolocationPermissionRequestID;
12 class GURL; 13 class GURL;
13 class InfoBarTabHelper; 14 class InfoBarTabHelper;
14 15
15 class GeolocationConfirmInfoBarDelegateFactory { 16 class GeolocationConfirmInfoBarDelegateFactory {
16 public: 17 public:
17 GeolocationConfirmInfoBarDelegateFactory() {} 18 GeolocationConfirmInfoBarDelegateFactory() {}
18 ~GeolocationConfirmInfoBarDelegateFactory() {} 19 ~GeolocationConfirmInfoBarDelegateFactory() {}
19 static GeolocationConfirmInfoBarDelegate* Create( 20 static GeolocationConfirmInfoBarDelegate* Create(
20 InfoBarTabHelper* infobar_helper, 21 InfoBarTabHelper* infobar_helper,
21 GeolocationInfoBarQueueController* controller, 22 GeolocationInfoBarQueueController* controller,
22 int render_process_id, 23 const GeolocationPermissionRequestID& id,
23 int render_view_id,
24 int bridge_id,
25 const GURL& requesting_frame_url, 24 const GURL& requesting_frame_url,
26 const std::string& display_languages); 25 const std::string& display_languages);
27 26
28 private: 27 private:
29 28
30 DISALLOW_COPY_AND_ASSIGN(GeolocationConfirmInfoBarDelegateFactory); 29 DISALLOW_COPY_AND_ASSIGN(GeolocationConfirmInfoBarDelegateFactory);
31 }; 30 };
32 31
33 #endif // CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_FACTO RY_H_ 32 #endif // CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_FACTO RY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698