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

Side by Side Diff: Source/WebCore/inspector/InspectorFrontendHost.cpp

Issue 12224049: Merge 140539 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 10 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 /* 1 /*
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com>
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 ResourceRequest request(url); 287 ResourceRequest request(url);
288 request.setHTTPMethod("GET"); 288 request.setHTTPMethod("GET");
289 289
290 Vector<char> data; 290 Vector<char> data;
291 ResourceError error; 291 ResourceError error;
292 ResourceResponse response; 292 ResourceResponse response;
293 m_frontendPage->mainFrame()->loader()->loadResourceSynchronously(request, Do NotAllowStoredCredentials, error, response, data); 293 m_frontendPage->mainFrame()->loader()->loadResourceSynchronously(request, Do NotAllowStoredCredentials, error, response, data);
294 return String(data.data(), data.size()); 294 return String(data.data(), data.size());
295 } 295 }
296 296
297 bool InspectorFrontendHost::isUnderTest()
298 {
299 return m_client && m_client->isUnderTest();
300 }
301
297 } // namespace WebCore 302 } // namespace WebCore
298 303
299 #endif // ENABLE(INSPECTOR) 304 #endif // ENABLE(INSPECTOR)
OLDNEW
« no previous file with comments | « Source/WebCore/inspector/InspectorFrontendHost.h ('k') | Source/WebCore/inspector/InspectorFrontendHost.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698