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

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, 2 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
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 GURL; 12 class GURL;
13 class InfoBarTabHelper; 13 class InfoBarTabHelper;
14 namespace content {
15 struct GeolocationPermissionRequestID;
16 }
14 17
15 class GeolocationConfirmInfoBarDelegateFactory { 18 class GeolocationConfirmInfoBarDelegateFactory {
16 public: 19 public:
17 GeolocationConfirmInfoBarDelegateFactory() {} 20 GeolocationConfirmInfoBarDelegateFactory() {}
18 ~GeolocationConfirmInfoBarDelegateFactory() {} 21 ~GeolocationConfirmInfoBarDelegateFactory() {}
19 static GeolocationConfirmInfoBarDelegate* Create( 22 static GeolocationConfirmInfoBarDelegate* Create(
20 InfoBarTabHelper* infobar_helper, 23 InfoBarTabHelper* infobar_helper,
21 GeolocationInfoBarQueueController* controller, 24 GeolocationInfoBarQueueController* controller,
22 int render_process_id, 25 const content::GeolocationPermissionRequestID& id,
23 int render_view_id,
24 int bridge_id,
25 const GURL& requesting_frame_url, 26 const GURL& requesting_frame_url,
26 const std::string& display_languages); 27 const std::string& display_languages);
27 28
28 private: 29 private:
29 30
30 DISALLOW_COPY_AND_ASSIGN(GeolocationConfirmInfoBarDelegateFactory); 31 DISALLOW_COPY_AND_ASSIGN(GeolocationConfirmInfoBarDelegateFactory);
31 }; 32 };
32 33
33 #endif // CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_FACTO RY_H_ 34 #endif // CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_FACTO RY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698