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

Unified Diff: content/browser/device_orientation/device_data.h

Issue 59403004: Android: remove device_data.h from browser/device_orientation/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed extra line Created 6 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: content/browser/device_orientation/device_data.h
diff --git a/content/browser/device_orientation/device_data.h b/content/browser/device_orientation/device_data.h
deleted file mode 100644
index e8c79add64c346ba31d1be34fc7453e03dc5104d..0000000000000000000000000000000000000000
--- a/content/browser/device_orientation/device_data.h
+++ /dev/null
@@ -1,43 +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 CONTENT_BROWSER_DEVICE_ORIENTATION_DEVICE_DATA_H_
-#define CONTENT_BROWSER_DEVICE_ORIENTATION_DEVICE_DATA_H_
-
-#include "base/memory/ref_counted.h"
-#include "content/common/content_export.h"
-
-namespace IPC {
-class Message;
-}
-
-namespace content {
-
-class CONTENT_EXPORT DeviceData :
- public base::RefCountedThreadSafe<DeviceData> {
- public:
- // TODO(timvolodine): move the DeviceData::Type enum to the service class
- // once it is implemented.
- enum Type {
- kTypeOrientation = 0,
- kTypeMotion = 1,
- kTypeTest = 100
- };
-
- virtual IPC::Message* CreateIPCMessage(int render_view_id) const = 0;
- virtual bool ShouldFireEvent(const DeviceData* other) const = 0;
-
- protected:
- DeviceData() {}
- virtual ~DeviceData() {}
-
- private:
- friend class base::RefCountedThreadSafe<DeviceData>;
-
- DISALLOW_COPY_AND_ASSIGN(DeviceData);
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_DEVICE_ORIENTATION_DEVICE_DATA_H_
« no previous file with comments | « content/browser/device_orientation/data_fetcher_impl_android_unittest.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698