OLD | NEW |
---|---|
(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 #if defined(OS_ANDROID) | |
10 #include "chrome/browser/geolocation/geolocation_confirm_infobar_delegate_androi d.h" | |
bulach
2012/10/22 13:01:03
nit: remove from here and keep it in the .cc file
Ramya
2012/10/22 20:58:04
Done.
| |
11 #else | |
12 #include "chrome/browser/geolocation/geolocation_confirm_infobar_delegate.h" | |
13 #endif | |
14 | |
15 class GeolocationConfirmInfoBarDelegateFactory { | |
16 | |
17 public: | |
18 GeolocationConfirmInfoBarDelegateFactory() {} | |
19 ~GeolocationConfirmInfoBarDelegateFactory() {} | |
20 static GeolocationConfirmInfoBarDelegate* Create( | |
21 InfoBarTabHelper* infobar_helper, | |
22 GeolocationInfoBarQueueController* controller, | |
23 int render_process_id, | |
24 int render_view_id, | |
25 int bridge_id, | |
26 const GURL& requesting_frame_url, | |
27 const std::string& display_languages); | |
28 | |
29 private: | |
30 | |
31 DISALLOW_COPY_AND_ASSIGN(GeolocationConfirmInfoBarDelegateFactory); | |
32 }; | |
33 | |
34 #endif // CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_FACTO RY_H_ | |
OLD | NEW |