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

Side by Side Diff: chrome/common/extensions/docs/examples/apps/hello-java/HelloLicenseServlet.java

Issue 10835019: Fix license headers in a number of files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The Chromium 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 *
2 * The "Hello world!" of the Chrome Web Store Licensing API, in Java. This 6 * The "Hello world!" of the Chrome Web Store Licensing API, in Java. This
3 * program logs the user in with OpenID, fetches their license state with OAuth, 7 * program logs the user in with OpenID, fetches their license state with OAuth,
4 * and prints one of these greetings as appropriate: 8 * and prints one of these greetings as appropriate:
5 * 9 *
6 * 1. Hello *no* license! 10 * 1. Hello *no* license!
7 * 2. Hello *free trial* license! 11 * 2. Hello *free trial* license!
8 * 3. Hello *full* license! 12 * 3. Hello *full* license!
9 * 13 *
10 * Copyright 2010 the Chromium Authors
11 *
12 * Use of this source code is governed by a BSD-style license that can be found
13 * in the "LICENSE" file.
14 *
15 * Brian Kennish <bkennish@chromium.org> 14 * Brian Kennish <bkennish@chromium.org>
16 */ 15 */
17 package com.example; 16 package com.example;
18 17
19 import java.io.*; 18 import java.io.*;
20 import java.net.*; 19 import java.net.*;
21 import java.util.HashSet; 20 import java.util.HashSet;
22 import javax.servlet.http.*; 21 import javax.servlet.http.*;
23 import com.google.appengine.api.users.*; 22 import com.google.appengine.api.users.*;
24 import com.google.appengine.repackaged.org.json.JSONObject; 23 import com.google.appengine.repackaged.org.json.JSONObject;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 userService.createLoginURL( 108 userService.createLoginURL(
110 url, 109 url,
111 null, 110 null,
112 "https://www.google.com/accounts/o8/id", 111 "https://www.google.com/accounts/o8/id",
113 new HashSet<String>() 112 new HashSet<String>()
114 ) 113 )
115 ); 114 );
116 } 115 }
117 } 116 }
118 } 117 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698