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

Unified Diff: content/public/common/request_context_type.h

Issue 623663002: [ServiceWorker] pipe RequestContext and FrameType to ServiceWorker. [2/2 chromium] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: request_info.cc Created 6 years, 2 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
Index: content/public/common/request_context_type.h
diff --git a/content/public/common/request_context_type.h b/content/public/common/request_context_type.h
new file mode 100644
index 0000000000000000000000000000000000000000..2a5a60ae8140755395584e7b976cad62b7387145
--- /dev/null
+++ b/content/public/common/request_context_type.h
@@ -0,0 +1,50 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_PUBLIC_COMMON_REQUEST_CONTEXT_TYPE_H_
+#define CONTENT_PUBLIC_COMMON_REQUEST_CONTEXT_TYPE_H_
+
+namespace content {
+
+enum RequestContextType {
+ REQUEST_CONTEXT_TYPE_UNSPECIFIED = 0,
+ REQUEST_CONTEXT_TYPE_AUDIO,
+ REQUEST_CONTEXT_TYPE_BEACON,
+ REQUEST_CONTEXT_TYPE_CSP_REPORT,
+ REQUEST_CONTEXT_TYPE_DOWNLOAD,
+ REQUEST_CONTEXT_TYPE_EMBED,
+ REQUEST_CONTEXT_TYPE_EVENT_SOURCE,
+ REQUEST_CONTEXT_TYPE_FAVICON,
+ REQUEST_CONTEXT_TYPE_FETCH,
+ REQUEST_CONTEXT_TYPE_FONT,
+ REQUEST_CONTEXT_TYPE_FORM,
+ REQUEST_CONTEXT_TYPE_FRAME,
+ REQUEST_CONTEXT_TYPE_HYPERLINK,
+ REQUEST_CONTEXT_TYPE_IFRAME,
+ REQUEST_CONTEXT_TYPE_IMAGE,
+ REQUEST_CONTEXT_TYPE_IMAGE_SET,
+ REQUEST_CONTEXT_TYPE_IMPORT,
+ REQUEST_CONTEXT_TYPE_INTERNAL,
+ REQUEST_CONTEXT_TYPE_LOCATION,
+ REQUEST_CONTEXT_TYPE_MANIFEST,
+ REQUEST_CONTEXT_TYPE_OBJECT,
+ REQUEST_CONTEXT_TYPE_PING,
+ REQUEST_CONTEXT_TYPE_PLUGIN,
+ REQUEST_CONTEXT_TYPE_PREFETCH,
+ REQUEST_CONTEXT_TYPE_SCRIPT,
+ REQUEST_CONTEXT_TYPE_SERVICE_WORKER,
+ REQUEST_CONTEXT_TYPE_SHARED_WORKER,
+ REQUEST_CONTEXT_TYPE_SUBRESOURCE,
+ REQUEST_CONTEXT_TYPE_STYLE,
+ REQUEST_CONTEXT_TYPE_TRACK,
+ REQUEST_CONTEXT_TYPE_VIDEO,
+ REQUEST_CONTEXT_TYPE_WORKER,
+ REQUEST_CONTEXT_TYPE_XML_HTTP_REQUEST,
+ REQUEST_CONTEXT_TYPE_XSLT,
+ REQUEST_CONTEXT_TYPE_LAST = REQUEST_CONTEXT_TYPE_XSLT
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_COMMON_REQUEST_CONTEXT_TYPE_H_
« no previous file with comments | « content/public/common/request_context_frame_type.h ('k') | content/renderer/service_worker/service_worker_script_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698