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

Side by Side Diff: chrome/test/data/extensions/api_test/action_handlers/new_note/main.js

Issue 2693053002: cros: Add e2e tests for new_note action handler. Flip feature to stable. (Closed)
Patch Set: Address comments Created 3 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 2017 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 chrome.app.runtime.onLaunched.addListener(function(launchData) {
6 var isNewNote = false;
7 if (launchData.actionData && launchData.actionData.actionType == "new_note")
8 isNewNote = true
9
10 chrome.test.sendMessage('hasNewNote = ' + isNewNote);
11 });
12
13 chrome.test.sendMessage('loaded');
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | chrome/test/data/extensions/api_test/action_handlers/new_note/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698