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

Side by Side Diff: ports/tor/background.js

Issue 1289343005: Added Tor (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@pepper_44
Patch Set: contains modifications as per feedback and a bug fix Created 5 years, 4 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 /*
2 * Copyright 2015 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7 'use strict';
8
9 // mount points are defined in naclprocess.js
10 // TODO(dt) make sure that datadirectory for tor is set to default for now
11 chrome.app.runtime.onLaunched.addListener(function() {
12 chrome.app.window.create('index.html', {
13 'bounds': {
14 'width': 850,
15 'height': 650,
16 },
17 });
18 });
19
20 chrome.runtime.onSuspend.addListener(function() {
21 // TODO(dt) add code to facilitate graceful exit of tor.
22 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698