Chromium Code Reviews| Index: content/browser/screen_orientation/screen_orientation_delegate_win.h |
| diff --git a/ash/content/screen_orientation_delegate_chromeos.h b/content/browser/screen_orientation/screen_orientation_delegate_win.h |
| similarity index 53% |
| copy from ash/content/screen_orientation_delegate_chromeos.h |
| copy to content/browser/screen_orientation/screen_orientation_delegate_win.h |
| index d5fe51c0cd67f6a4625723e3604b35c6dc82a720..0e11210e551085db2a416c0427a0f1456acc71bc 100644 |
| --- a/ash/content/screen_orientation_delegate_chromeos.h |
| +++ b/content/browser/screen_orientation/screen_orientation_delegate_win.h |
| @@ -1,21 +1,19 @@ |
| -// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Copyright 2016 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 ASH_CONTENT_SCREEN_ORIENTATION_DELEGATE_CHROMEOS_H_ |
| -#define ASH_CONTENT_SCREEN_ORIENTATION_DELEGATE_CHROMEOS_H_ |
| - |
| #include "content/public/browser/screen_orientation_delegate.h" |
| -#include "base/macros.h" |
| +#ifndef CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DELEGATE_WIN_H_ |
| +#define CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DELEGATE_WIN_H_ |
|
Avi (use Gerrit)
2016/03/02 19:25:12
Include guards have to be the first thing in the f
aleksandar.stojiljkovic
2016/03/02 19:47:20
Done.
|
| -namespace ash { |
| +namespace content { |
| -class ScreenOrientationDelegateChromeos |
| +class ScreenOrientationDelegateWin |
| : public content::ScreenOrientationDelegate { |
| public: |
| - ScreenOrientationDelegateChromeos(); |
| - ~ScreenOrientationDelegateChromeos() override; |
| + ScreenOrientationDelegateWin(); |
| + ~ScreenOrientationDelegateWin() override; |
| private: |
| // content::ScreenOrientationDelegate: |
| @@ -25,9 +23,9 @@ class ScreenOrientationDelegateChromeos |
| bool ScreenOrientationProviderSupported() override; |
| void Unlock(content::WebContents* web_contents) override; |
| - DISALLOW_COPY_AND_ASSIGN(ScreenOrientationDelegateChromeos); |
| + DISALLOW_COPY_AND_ASSIGN(ScreenOrientationDelegateWin); |
| }; |
| -} // namespace ash |
| +} // namespace content |
| -#endif // ASH_CONTENT_SCREEN_ORIENTATION_DELEGATE_CHROMEOS_H_ |
| +#endif // CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DELEGATE_WIN_H_ |