Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: src/AppInfoJsObject.cpp

Issue 11157034: Update info module and make updater use the new downloader module (Closed)
Patch Set: Created July 23, 2013, 10:03 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « shell/src/Main.cpp ('k') | test/AppInfoJsObject.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <http://adblockplus.org/>, 2 * This file is part of Adblock Plus <http://adblockplus.org/>,
3 * Copyright (C) 2006-2013 Eyeo GmbH 3 * Copyright (C) 2006-2013 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 11 matching lines...) Expand all
22 #include "Utils.h" 22 #include "Utils.h"
23 23
24 using namespace AdblockPlus; 24 using namespace AdblockPlus;
25 25
26 JsValuePtr AppInfoJsObject::Setup(JsEnginePtr jsEngine, const AppInfo& appInfo, 26 JsValuePtr AppInfoJsObject::Setup(JsEnginePtr jsEngine, const AppInfo& appInfo,
27 JsValuePtr obj) 27 JsValuePtr obj)
28 { 28 {
29 obj->SetProperty("id", appInfo.id); 29 obj->SetProperty("id", appInfo.id);
30 obj->SetProperty("version", appInfo.version); 30 obj->SetProperty("version", appInfo.version);
31 obj->SetProperty("name", appInfo.name); 31 obj->SetProperty("name", appInfo.name);
32 obj->SetProperty("platform", appInfo.platform); 32 obj->SetProperty("application", appInfo.application);
33 obj->SetProperty("applicationVersion", appInfo.applicationVersion);
33 obj->SetProperty("locale", appInfo.locale); 34 obj->SetProperty("locale", appInfo.locale);
34 obj->SetProperty("developmentBuild", appInfo.developmentBuild); 35 obj->SetProperty("developmentBuild", appInfo.developmentBuild);
35 return obj; 36 return obj;
36 } 37 }
OLDNEW
« no previous file with comments | « shell/src/Main.cpp ('k') | test/AppInfoJsObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld