summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tabs
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-19 20:45:46 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-19 20:45:46 +0000
commit867a73e1e2aad10f60952235da84f5d98cff9aa6 (patch)
tree5e977ff9c87a2cd3de2d7f50b057adbdad4c70bf /chrome/browser/tabs
parent35de4be0f924ef6279a6a25fe840522524fa177b (diff)
downloadchromium_src-867a73e1e2aad10f60952235da84f5d98cff9aa6.zip
chromium_src-867a73e1e2aad10f60952235da84f5d98cff9aa6.tar.gz
chromium_src-867a73e1e2aad10f60952235da84f5d98cff9aa6.tar.bz2
Resubmit 1025006: Refactor app-related manifest properties
so that they don't include the name 'app'. TBR=erikkay@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42146 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tabs')
-rw-r--r--chrome/browser/tabs/pinned_tab_codec.cc2
-rw-r--r--chrome/browser/tabs/tab_strip_model_unittest.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/tabs/pinned_tab_codec.cc b/chrome/browser/tabs/pinned_tab_codec.cc
index 51b8fd2..df096fc 100644
--- a/chrome/browser/tabs/pinned_tab_codec.cc
+++ b/chrome/browser/tabs/pinned_tab_codec.cc
@@ -50,7 +50,7 @@ static void EncodePinnedTab(TabStripModel* model,
// . the user is effectively restarting the app, so that returning them to
// the app's launch page seems closest to what they expect.
// . we do the same when restoring a phantom tab.
- value->SetString(kURL, extension->app_launch_url().spec());
+ value->SetString(kURL, extension->GetFullLaunchURL().spec());
values->Append(value.release());
} else {
NavigationEntry* entry = tab_contents->controller().GetActiveEntry();
diff --git a/chrome/browser/tabs/tab_strip_model_unittest.cc b/chrome/browser/tabs/tab_strip_model_unittest.cc
index 4b67a43..ac5881a2 100644
--- a/chrome/browser/tabs/tab_strip_model_unittest.cc
+++ b/chrome/browser/tabs/tab_strip_model_unittest.cc
@@ -1362,7 +1362,7 @@ TEST_F(TabStripModelTest, Apps) {
FilePath path(FILE_PATH_LITERAL("/foo"));
#endif
Extension app_extension(path);
- app_extension.app_launch_url_ = GURL("http://www.google.com");
+ app_extension.launch_web_url_ = "http://www.google.com";
TabContents* contents1 = CreateTabContents();
contents1->SetAppExtension(&app_extension);
TabContents* contents2 = CreateTabContents();