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

Unified Diff: content/common/service_worker_types.h

Issue 127583002: Separate EmbeddedWorker messages into another file to use different msg class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: build fix Created 6 years, 11 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 | « content/common/service_worker_messages.h ('k') | content/common/service_worker_types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/service_worker_types.h
diff --git a/content/common/service_worker_types.h b/content/common/service_worker_types.h
deleted file mode 100644
index 19a763f44c776d93db32057e37c0b0e7959bd24e..0000000000000000000000000000000000000000
--- a/content/common/service_worker_types.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2013 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_COMMON_SERVICE_WORKER_TYPES_H_
-#define CONTENT_COMMON_SERVICE_WORKER_TYPES_H_
-
-#include <map>
-#include <string>
-
-#include "base/basictypes.h"
-#include "content/common/content_export.h"
-#include "url/gurl.h"
-
-// This file is to have common definitions that are to be shared by
-// browser and child process.
-
-namespace content {
-
-// To dispatch fetch request from browser to child process.
-// TODO(kinuko): This struct will definitely need more fields and
-// we'll probably want to have response struct/class too.
-struct CONTENT_EXPORT ServiceWorkerFetchRequest {
- ServiceWorkerFetchRequest();
- ServiceWorkerFetchRequest(
- const GURL& url,
- const std::string& method,
- const std::map<std::string, std::string>& headers);
- ~ServiceWorkerFetchRequest();
-
- GURL url;
- std::string method;
- std::map<std::string, std::string> headers;
-};
-
-} // namespace content
-
-#endif // CONTENT_COMMON_SERVICE_WORKER_TYPES_H_
« no previous file with comments | « content/common/service_worker_messages.h ('k') | content/common/service_worker_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698