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

Side by Side Diff: content/common/navigator_connect_types.cc

Issue 861373002: Refactor navigator.connect code to make it more flexible. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo Created 5 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
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/common/navigator_connect_types.h"
6
7 namespace content {
8
9 CrossOriginServiceWorkerClient::CrossOriginServiceWorkerClient()
10 : message_port_id(-1) {
11 }
12
13 CrossOriginServiceWorkerClient::CrossOriginServiceWorkerClient(
14 const GURL& target_url,
15 const GURL& origin,
16 int message_port_id)
17 : target_url(target_url), origin(origin), message_port_id(message_port_id) {
18 }
19
20 CrossOriginServiceWorkerClient::~CrossOriginServiceWorkerClient() {
21 }
22
23 } // namespace content
OLDNEW
« no previous file with comments | « content/common/navigator_connect_types.h ('k') | content/common/service_worker/service_worker_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698