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

Side by Side Diff: components/test_runner/web_content_settings.cc

Issue 1167703002: Move test runner to a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/shell/renderer/test_runner/web_content_settings.h" 5 #include "components/test_runner/web_content_settings.h"
6 6
7 #include "content/shell/renderer/test_runner/test_common.h" 7 #include "components/test_runner/test_common.h"
8 #include "content/shell/renderer/test_runner/web_test_delegate.h" 8 #include "components/test_runner/web_test_delegate.h"
9 #include "third_party/WebKit/public/platform/WebCString.h" 9 #include "third_party/WebKit/public/platform/WebCString.h"
10 #include "third_party/WebKit/public/platform/WebURL.h" 10 #include "third_party/WebKit/public/platform/WebURL.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 WebContentSettings::WebContentSettings() : delegate_(0) { 14 WebContentSettings::WebContentSettings() : delegate_(0) {
15 Reset(); 15 Reset();
16 } 16 }
17 17
18 WebContentSettings::~WebContentSettings() {} 18 WebContentSettings::~WebContentSettings() {}
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 images_allowed_ = true; 112 images_allowed_ = true;
113 media_allowed_ = true; 113 media_allowed_ = true;
114 scripts_allowed_ = true; 114 scripts_allowed_ = true;
115 storage_allowed_ = true; 115 storage_allowed_ = true;
116 plugins_allowed_ = true; 116 plugins_allowed_ = true;
117 displaying_insecure_content_allowed_ = false; 117 displaying_insecure_content_allowed_ = false;
118 running_insecure_content_allowed_ = false; 118 running_insecure_content_allowed_ = false;
119 } 119 }
120 120
121 } // namespace content 121 } // namespace content
OLDNEW
« no previous file with comments | « components/test_runner/web_content_settings.h ('k') | components/test_runner/web_frame_test_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698