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

Side by Side Diff: chrome/browser/chromeos/file_manager/file_manager_installer.cc

Issue 23945002: file_manager: Move non-binding code to c/b/chromeos/file_manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 3 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 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/extensions/file_manager/file_manager_installer .h" 5 #include "chrome/browser/chromeos/file_manager/file_manager_installer.h"
6 6
7 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
9 #include "content/public/browser/web_contents.h" 9 #include "content/public/browser/web_contents.h"
10 10
11 namespace file_manager { 11 namespace file_manager {
12 12
13 namespace { 13 namespace {
14 const char kWebContentsDestroyedError[] = "WebContents is destroyed."; 14 const char kWebContentsDestroyedError[] = "WebContents is destroyed.";
15 } // namespace 15 } // namespace
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 return true; 104 return true;
105 } 105 }
106 106
107 void FileManagerInstaller::OnWebContentsDestroyed( 107 void FileManagerInstaller::OnWebContentsDestroyed(
108 content::WebContents* web_contents) { 108 content::WebContents* web_contents) {
109 callback_.Run(false, kWebContentsDestroyedError); 109 callback_.Run(false, kWebContentsDestroyedError);
110 AbortInstall(); 110 AbortInstall();
111 } 111 }
112 112
113 } // namespace file_manager 113 } // namespace file_manager
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/file_manager/file_manager_installer.h ('k') | chrome/browser/chromeos/file_manager/file_tasks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698