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

Side by Side Diff: content/browser/idbbindingutilities_browsertest.cc

Issue 8470006: Enforce that most content messages files can't be included by chrome. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "base/utf_string_conversions.h" 5 #include "base/utf_string_conversions.h"
6 #include "chrome/browser/browser_process.h"
7 #include "chrome/test/base/in_process_browser_test.h" 6 #include "chrome/test/base/in_process_browser_test.h"
8 #include "chrome/test/base/ui_test_utils.h" 7 #include "chrome/test/base/ui_test_utils.h"
9 #include "content/browser/renderer_host/resource_dispatcher_host.h" 8 #include "content/browser/renderer_host/resource_dispatcher_host.h"
10 #include "content/browser/utility_process_host.h" 9 #include "content/browser/utility_process_host.h"
11 #include "content/common/indexed_db_key.h" 10 #include "content/common/indexed_db_key.h"
12 #include "content/common/utility_messages.h" 11 #include "content/common/utility_messages.h"
13 #include "content/public/common/serialized_script_value.h" 12 #include "content/public/common/serialized_script_value.h"
14 #include "googleurl/src/gurl.h" 13 #include "googleurl/src/gurl.h"
15 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h"
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 ScopedIDBKeyPathHelper scoped_helper; 361 ScopedIDBKeyPathHelper scoped_helper;
363 scoped_helper.SetExpectedValue(expected_value); 362 scoped_helper.SetExpectedValue(expected_value);
364 // TODO(lukezarko@gmail.com): re-enable this after the changes described at 363 // TODO(lukezarko@gmail.com): re-enable this after the changes described at
365 // https://bugs.webkit.org/show_bug.cgi?id=63481 land. 364 // https://bugs.webkit.org/show_bug.cgi?id=63481 land.
366 // scoped_helper.CheckInjectValue(key, value, UTF8ToUTF16("bar")); 365 // scoped_helper.CheckInjectValue(key, value, UTF8ToUTF16("bar"));
367 366
368 // Expect null. 367 // Expect null.
369 scoped_helper.SetExpectedValue(content::SerializedScriptValue()); 368 scoped_helper.SetExpectedValue(content::SerializedScriptValue());
370 scoped_helper.CheckInjectValue(key, value, UTF8ToUTF16("bad.key.path")); 369 scoped_helper.CheckInjectValue(key, value, UTF8ToUTF16("bad.key.path"));
371 } 370 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698