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

Side by Side Diff: chrome/browser/extensions/external_pref_extension_loader.cc

Issue 6272025: Part 2 of repairing regressions to my old clang check plugins so Nico can (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright 2011 Created 9 years, 10 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/extensions/external_pref_extension_loader.h" 5 #include "chrome/browser/extensions/external_pref_extension_loader.h"
6 6
7 #include "app/app_paths.h" 7 #include "app/app_paths.h"
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 FilePath fake_json_path = fake_base_path.AppendASCII("fake.json"); 105 FilePath fake_json_path = fake_base_path.AppendASCII("fake.json");
106 testing_prefs_.reset(ExtractPrefs(fake_json_path, &serializer)); 106 testing_prefs_.reset(ExtractPrefs(fake_json_path, &serializer));
107 } 107 }
108 108
109 void ExternalTestingExtensionLoader::StartLoading() { 109 void ExternalTestingExtensionLoader::StartLoading() {
110 CHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 110 CHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
111 prefs_.reset(testing_prefs_->DeepCopy()); 111 prefs_.reset(testing_prefs_->DeepCopy());
112 LoadFinished(); 112 LoadFinished();
113 } 113 }
114 114
115 ExternalTestingExtensionLoader::~ExternalTestingExtensionLoader() {}
116
115 const FilePath ExternalTestingExtensionLoader::GetBaseCrxFilePath() { 117 const FilePath ExternalTestingExtensionLoader::GetBaseCrxFilePath() {
116 return fake_base_path_; 118 return fake_base_path_;
117 } 119 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/external_pref_extension_loader.h ('k') | chrome/browser/load_from_memory_cache_details.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698