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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/geolocation/geolocation_confirm_infobar_delegate_factory.h
===================================================================
--- chrome/browser/geolocation/geolocation_confirm_infobar_delegate_factory.h (revision 175396)
+++ chrome/browser/geolocation/geolocation_confirm_infobar_delegate_factory.h (working copy)
@@ -1,32 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_FACTORY_H_
-#define CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_FACTORY_H_
-
-#include "base/values.h"
-
-class GeolocationConfirmInfoBarDelegate;
-class GeolocationInfoBarQueueController;
-class GeolocationPermissionRequestID;
-class GURL;
-class InfoBarService;
-
-class GeolocationConfirmInfoBarDelegateFactory {
- public:
- GeolocationConfirmInfoBarDelegateFactory() {}
- ~GeolocationConfirmInfoBarDelegateFactory() {}
- static GeolocationConfirmInfoBarDelegate* Create(
- InfoBarService* infobar_service,
- GeolocationInfoBarQueueController* controller,
- const GeolocationPermissionRequestID& id,
- const GURL& requesting_frame_url,
- const std::string& display_languages);
-
- private:
-
- DISALLOW_COPY_AND_ASSIGN(GeolocationConfirmInfoBarDelegateFactory);
-};
-
-#endif // CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698