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

Side by Side Diff: chrome/renderer/chrome_content_renderer_client_unittest.cc

Issue 16109004: Update refernces to Blink's Platform API (chrome) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/renderer/chrome_content_renderer_client.h" 5 #include "chrome/renderer/chrome_content_renderer_client.h"
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/common/extensions/extension.h" 8 #include "chrome/common/extensions/extension.h"
9 #include "chrome/common/extensions/extension_builder.h" 9 #include "chrome/common/extensions/extension_builder.h"
10 #include "chrome/common/extensions/extension_manifest_constants.h" 10 #include "chrome/common/extensions/extension_manifest_constants.h"
11 #include "googleurl/src/gurl.h" 11 #include "googleurl/src/gurl.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" 13 #include "third_party/WebKit/public/platform/WebString.h"
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" 14 #include "third_party/WebKit/public/platform/WebVector.h"
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginParams.h" 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginParams.h"
16 #include "webkit/plugins/webplugininfo.h" 16 #include "webkit/plugins/webplugininfo.h"
17 17
18 using WebKit::WebPluginParams; 18 using WebKit::WebPluginParams;
19 using WebKit::WebString; 19 using WebKit::WebString;
20 using WebKit::WebVector; 20 using WebKit::WebVector;
21 using chrome::ChromeContentRendererClient; 21 using chrome::ChromeContentRendererClient;
22 using webkit::WebPluginInfo; 22 using webkit::WebPluginInfo;
23 using webkit::WebPluginMimeType; 23 using webkit::WebPluginMimeType;
24 24
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 EXPECT_FALSE(ChromeContentRendererClient::IsNaClAllowed( 281 EXPECT_FALSE(ChromeContentRendererClient::IsNaClAllowed(
282 GURL(), GURL("http://example.evil.com/test.html"), 282 GURL(), GURL("http://example.evil.com/test.html"),
283 kNaClRestricted, 283 kNaClRestricted,
284 CreateHostedApp(kExtensionRestricted, kExtensionNotFromWebStore, 284 CreateHostedApp(kExtensionRestricted, kExtensionNotFromWebStore,
285 "http://example.com/"), 285 "http://example.com/"),
286 &params)); 286 &params));
287 } 287 }
288 } 288 }
289 289
290 } // namespace chrome 290 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | chrome/renderer/chrome_render_view_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698