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

Side by Side Diff: chrome/browser/chromeos/app_mode/kiosk_app_data.cc

Issue 2926553004: Remove trailing semicolon at the end of a method definition (Closed)
Patch Set: rebase Created 3 years, 6 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
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/app_mode/kiosk_app_data.h" 5 #include "chrome/browser/chromeos/app_mode/kiosk_app_data.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 89
90 bool success() const { return success_; } 90 bool success() const { return success_; }
91 const base::FilePath& crx_file() const { return crx_file_; } 91 const base::FilePath& crx_file() const { return crx_file_; }
92 const std::string& name() const { return name_; } 92 const std::string& name() const { return name_; }
93 const SkBitmap& icon() const { return icon_; } 93 const SkBitmap& icon() const { return icon_; }
94 const std::string& required_platform_version() const { 94 const std::string& required_platform_version() const {
95 return required_platform_version_; 95 return required_platform_version_;
96 } 96 }
97 97
98 private: 98 private:
99 ~CrxLoader() override {}; 99 ~CrxLoader() override {}
100 100
101 // extensions::SandboxedUnpackerClient 101 // extensions::SandboxedUnpackerClient
102 void OnUnpackSuccess(const base::FilePath& temp_dir, 102 void OnUnpackSuccess(const base::FilePath& temp_dir,
103 const base::FilePath& extension_root, 103 const base::FilePath& extension_root,
104 std::unique_ptr<base::DictionaryValue> original_manifest, 104 std::unique_ptr<base::DictionaryValue> original_manifest,
105 const extensions::Extension* extension, 105 const extensions::Extension* extension,
106 const SkBitmap& install_icon) override { 106 const SkBitmap& install_icon) override {
107 DCHECK(task_runner_->RunsTasksInCurrentSequence()); 107 DCHECK(task_runner_->RunsTasksInCurrentSequence());
108 108
109 const extensions::KioskModeInfo* info = 109 const extensions::KioskModeInfo* info =
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 533
534 SkBitmap icon = crx_loader->icon(); 534 SkBitmap icon = crx_loader->icon();
535 if (icon.empty()) 535 if (icon.empty())
536 icon = *extensions::util::GetDefaultAppIcon().bitmap(); 536 icon = *extensions::util::GetDefaultAppIcon().bitmap();
537 SetCache(crx_loader->name(), icon, crx_loader->required_platform_version()); 537 SetCache(crx_loader->name(), icon, crx_loader->required_platform_version());
538 538
539 SetStatus(STATUS_LOADED); 539 SetStatus(STATUS_LOADED);
540 } 540 }
541 541
542 } // namespace chromeos 542 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/browsing_data/history_counter_browsertest.cc ('k') | chrome/browser/chromeos/login/lock/screen_locker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698