summaryrefslogtreecommitdiffstats
path: root/content/browser/device_orientation
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-18 21:28:36 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-18 21:28:36 +0000
commit96aa01940bfdf48da820b5d25cbec3fed5039faf (patch)
treedaa2960a0d8d5b0be36fbbe9f1cccd1301eac9ca /content/browser/device_orientation
parent5edfa8ba5ed833cb4eb11a6e613337723cc23d32 (diff)
downloadchromium_src-96aa01940bfdf48da820b5d25cbec3fed5039faf.zip
chromium_src-96aa01940bfdf48da820b5d25cbec3fed5039faf.tar.gz
chromium_src-96aa01940bfdf48da820b5d25cbec3fed5039faf.tar.bz2
Ensure no chrome includes in content\common and content\ppapi_plugin. Also tighten a little in device_orientation.
Review URL: http://codereview.chromium.org/6883022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82001 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/device_orientation')
-rw-r--r--content/browser/device_orientation/DEPS6
-rw-r--r--content/browser/device_orientation/device_orientation_browsertest.cc2
2 files changed, 7 insertions, 1 deletions
diff --git a/content/browser/device_orientation/DEPS b/content/browser/device_orientation/DEPS
new file mode 100644
index 0000000..0272f05
--- /dev/null
+++ b/content/browser/device_orientation/DEPS
@@ -0,0 +1,6 @@
+include_rules = [
+ "-chrome",
+ "+chrome/browser/ui", # for browser_test
+ "+chrome/test", # for browser_test
+]
+
diff --git a/content/browser/device_orientation/device_orientation_browsertest.cc b/content/browser/device_orientation/device_orientation_browsertest.cc
index b10838d..c73e406 100644
--- a/content/browser/device_orientation/device_orientation_browsertest.cc
+++ b/content/browser/device_orientation/device_orientation_browsertest.cc
@@ -6,12 +6,12 @@
#include "base/file_path.h"
#include "base/memory/ref_counted.h"
#include "chrome/browser/ui/browser.h"
-#include "chrome/common/chrome_switches.h"
#include "chrome/test/in_process_browser_test.h"
#include "chrome/test/ui_test_utils.h"
#include "content/browser/device_orientation/orientation.h"
#include "content/browser/device_orientation/provider.h"
#include "content/browser/tab_contents/tab_contents.h"
+#include "content/common/content_switches.h"
namespace device_orientation {