Only grant permissions to new extensions from sync if they have the expected version
[chromium-blink-merge.git] / chrome / browser / gpu / three_d_api_observer.h
blob1db487c622fec5c24e38bf8ab168aa1c2e9c30c3
1 // Copyright 2014 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.
5 #ifndef CHROME_BROWSER_GPU_THREE_D_API_OBSERVER_H_
6 #define CHROME_BROWSER_GPU_THREE_D_API_OBSERVER_H_
8 #include "base/compiler_specific.h"
9 #include "content/public/browser/gpu_data_manager_observer.h"
11 class ThreeDAPIObserver : public content::GpuDataManagerObserver {
12 public:
13 ThreeDAPIObserver();
14 ~ThreeDAPIObserver() override;
16 private:
17 void DidBlock3DAPIs(const GURL& top_origin_url,
18 int render_process_id,
19 int render_frame_id,
20 content::ThreeDAPIType requester) override;
22 DISALLOW_COPY_AND_ASSIGN(ThreeDAPIObserver);
25 #endif // CHROME_BROWSER_GPU_THREE_D_API_OBSERVER_H_