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

Unified Diff: blimp/engine/app/blimp_permission_manager.h

Issue 2629743003: Remove all blimp engine code (Closed)
Patch Set: Use consistent comment style in //chrome Created 3 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
« no previous file with comments | « blimp/engine/app/blimp_network_delegate.cc ('k') | blimp/engine/app/blimp_permission_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/app/blimp_permission_manager.h
diff --git a/blimp/engine/app/blimp_permission_manager.h b/blimp/engine/app/blimp_permission_manager.h
deleted file mode 100644
index 8b016cd197428049c2a73d847d23dd4bea12f0df..0000000000000000000000000000000000000000
--- a/blimp/engine/app/blimp_permission_manager.h
+++ /dev/null
@@ -1,64 +0,0 @@
-// Copyright 2015 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 BLIMP_ENGINE_APP_BLIMP_PERMISSION_MANAGER_H_
-#define BLIMP_ENGINE_APP_BLIMP_PERMISSION_MANAGER_H_
-
-#include <vector>
-
-#include "base/callback_forward.h"
-#include "base/macros.h"
-#include "content/public/browser/permission_manager.h"
-
-namespace blimp {
-namespace engine {
-
-class BlimpPermissionManager : public content::PermissionManager {
- public:
- BlimpPermissionManager();
- ~BlimpPermissionManager() override;
-
- // content::PermissionManager implementation:
- int RequestPermission(
- content::PermissionType permission,
- content::RenderFrameHost* render_frame_host,
- const GURL& requesting_origin,
- bool user_gesture,
- const base::Callback<void(blink::mojom::PermissionStatus)>& callback)
- override;
- int RequestPermissions(
- const std::vector<content::PermissionType>& permission,
- content::RenderFrameHost* render_frame_host,
- const GURL& requesting_origin,
- bool user_gesture,
- const base::Callback<
- void(const std::vector<blink::mojom::PermissionStatus>&)>& callback)
- override;
- void CancelPermissionRequest(int request_id) override;
- void ResetPermission(content::PermissionType permission,
- const GURL& requesting_origin,
- const GURL& embedding_origin) override;
- blink::mojom::PermissionStatus GetPermissionStatus(
- content::PermissionType permission,
- const GURL& requesting_origin,
- const GURL& embedding_origin) override;
- void RegisterPermissionUsage(content::PermissionType permission,
- const GURL& requesting_origin,
- const GURL& embedding_origin) override;
- int SubscribePermissionStatusChange(
- content::PermissionType permission,
- const GURL& requesting_origin,
- const GURL& embedding_origin,
- const base::Callback<void(blink::mojom::PermissionStatus)>& callback)
- override;
- void UnsubscribePermissionStatusChange(int subscription_id) override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(BlimpPermissionManager);
-};
-
-} // namespace engine
-} // namespace blimp
-
-#endif // BLIMP_ENGINE_APP_BLIMP_PERMISSION_MANAGER_H_
« no previous file with comments | « blimp/engine/app/blimp_network_delegate.cc ('k') | blimp/engine/app/blimp_permission_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698