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

Unified Diff: chrome/browser/policy/cloud/test_request_interceptor.h

Issue 16102004: Adding browsertest to verify that updating forced-installed extensions is possible. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/policy/cloud/test_request_interceptor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/cloud/test_request_interceptor.h
diff --git a/chrome/browser/policy/cloud/test_request_interceptor.h b/chrome/browser/policy/cloud/test_request_interceptor.h
index 4ec5978cab3cf8e64c9fbceeb2ab0209fb460208..7838587fc185371e25a867b1ff1d8bbcce76b366 100644
--- a/chrome/browser/policy/cloud/test_request_interceptor.h
+++ b/chrome/browser/policy/cloud/test_request_interceptor.h
@@ -11,6 +11,10 @@
#include "base/callback.h"
#include "chrome/browser/policy/proto/cloud/device_management_backend.pb.h"
+namespace base {
+class FilePath;
+}
+
namespace net {
class NetworkDelegate;
class URLRequest;
@@ -56,6 +60,9 @@ class TestRequestInterceptor {
enterprise_management::DeviceRegisterRequest::Type expected_type,
bool expect_reregister);
+ // Returns a JobCallback that will send the contents of |file_path|.
+ static JobCallback FileJob(const base::FilePath& file_path);
+
private:
class Delegate;
« no previous file with comments | « no previous file | chrome/browser/policy/cloud/test_request_interceptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698