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

Side by Side Diff: content/test/test_webkit_platform_support.h

Issue 191093002: Simplify the user agent code some more since after r255534 it's not affected by the site's URL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: patchset 15 which works Created 6 years, 9 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_ 5 #ifndef CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_
6 #define CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_ 6 #define CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/files/scoped_temp_dir.h" 9 #include "base/files/scoped_temp_dir.h"
10 #include "content/child/simple_webmimeregistry_impl.h" 10 #include "content/child/simple_webmimeregistry_impl.h"
(...skipping 17 matching lines...) Expand all
28 public: 28 public:
29 TestWebKitPlatformSupport(); 29 TestWebKitPlatformSupport();
30 virtual ~TestWebKitPlatformSupport(); 30 virtual ~TestWebKitPlatformSupport();
31 31
32 virtual blink::WebMimeRegistry* mimeRegistry(); 32 virtual blink::WebMimeRegistry* mimeRegistry();
33 virtual blink::WebClipboard* clipboard(); 33 virtual blink::WebClipboard* clipboard();
34 virtual blink::WebFileUtilities* fileUtilities(); 34 virtual blink::WebFileUtilities* fileUtilities();
35 virtual blink::WebIDBFactory* idbFactory(); 35 virtual blink::WebIDBFactory* idbFactory();
36 36
37 virtual blink::WebURLLoader* createURLLoader(); 37 virtual blink::WebURLLoader* createURLLoader();
38 virtual blink::WebString userAgent() OVERRIDE;
39 // TODO(jam): remove this after Blink is updated
40 virtual blink::WebString userAgent(const blink::WebURL& url);
38 virtual blink::WebData loadResource(const char* name); 41 virtual blink::WebData loadResource(const char* name);
39 virtual blink::WebString queryLocalizedString( 42 virtual blink::WebString queryLocalizedString(
40 blink::WebLocalizedString::Name name); 43 blink::WebLocalizedString::Name name);
41 virtual blink::WebString queryLocalizedString( 44 virtual blink::WebString queryLocalizedString(
42 blink::WebLocalizedString::Name name, 45 blink::WebLocalizedString::Name name,
43 const blink::WebString& value); 46 const blink::WebString& value);
44 virtual blink::WebString queryLocalizedString( 47 virtual blink::WebString queryLocalizedString(
45 blink::WebLocalizedString::Name name, 48 blink::WebLocalizedString::Name name,
46 const blink::WebString& value1, 49 const blink::WebString& value1,
47 const blink::WebString& value2); 50 const blink::WebString& value2);
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 109
107 #if defined(OS_WIN) || defined(OS_MACOSX) 110 #if defined(OS_WIN) || defined(OS_MACOSX)
108 blink::WebThemeEngine* active_theme_engine_; 111 blink::WebThemeEngine* active_theme_engine_;
109 #endif 112 #endif
110 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); 113 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport);
111 }; 114 };
112 115
113 } // namespace content 116 } // namespace content
114 117
115 #endif // CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_ 118 #endif // CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_
OLDNEW
« no previous file with comments | « content/renderer/service_worker/embedded_worker_dispatcher.cc ('k') | content/test/test_webkit_platform_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698