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

Unified Diff: chrome/browser/pepper_broker_observer.h

Issue 11416013: Move RequestPpapiBrokerPermission from WebContentsObserver to WebContentsDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/pepper_broker_infobar_delegate.cc ('k') | chrome/browser/pepper_broker_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/pepper_broker_observer.h
diff --git a/chrome/browser/pepper_broker_observer.h b/chrome/browser/pepper_broker_observer.h
deleted file mode 100644
index 966d584cb7ec63d8dcc2bdb1315dd8f23d1d7c79..0000000000000000000000000000000000000000
--- a/chrome/browser/pepper_broker_observer.h
+++ /dev/null
@@ -1,30 +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_PEPPER_BROKER_OBSERVER_H_
-#define CHROME_BROWSER_PEPPER_BROKER_OBSERVER_H_
-
-#include "content/public/browser/web_contents_observer.h"
-#include "content/public/browser/web_contents_user_data.h"
-
-class PepperBrokerObserver
- : public content::WebContentsObserver,
- public content::WebContentsUserData<PepperBrokerObserver> {
- public:
- virtual ~PepperBrokerObserver();
-
- private:
- explicit PepperBrokerObserver(content::WebContents* web_contents);
- friend class content::WebContentsUserData<PepperBrokerObserver>;
-
- virtual bool RequestPpapiBrokerPermission(
- content::WebContents* web_contents,
- const GURL& url,
- const FilePath& plugin_path,
- const base::Callback<void(bool)>& callback) OVERRIDE;
-
- DISALLOW_COPY_AND_ASSIGN(PepperBrokerObserver);
-};
-
-#endif // CHROME_BROWSER_PEPPER_BROKER_OBSERVER_H_
« no previous file with comments | « chrome/browser/pepper_broker_infobar_delegate.cc ('k') | chrome/browser/pepper_broker_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698